Re: IAP in App Store
Hi Panos, After the login dialog, which worked fine, I got no status response on the first attempt. I realized that I was asking for a nonexistent product (I'd changed the store products during my experiments) and when I asked for a now existing one it went through fine. I got the sandbox purchase dialog and canceled the first attempt, which worked and I got a "cancelled" status. Then I purchased it again and got the "paymentReceived" status. All the handlers are in the card script but that seems to be working okay given that I did receive the status for a successful transaction. But I'd have expected an "unknown sku" error on the first attempt. I could move everything to the stack script I suppose, but it's nice to have it all encapsulated on the card. In case anyone is interested, my husband has come out into view again. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 20, 2021 6:20:24 AM panagiotis m via use-livecode wrote: Hello Jacque, Nice, I'll make sure this note is added to the docs at least. Ideally we'll fix it in the engine too, so as it throws an error if the 3rd param is empty. Now, you said you got the login dialog. What happened next, after you entered your test apple ID details? Did you get a dialog for the in-app purchase, where the price was listed, and you had to choose Buy or Cancel? Or did you get an error dialog? Also, where is the handler. for purchaseStateUpdate? Is it in the stack script? I think it has to be in the stack script Kind regards, Panos -- On Sun, 19 Sept 2021 at 19:41, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: Even a note in the documentation would help. I spent two weeks trying to figure out the problem. Was it my store setup? The iPhone? My script, which was based on the lesson example? Did I set up my store products wrong? Just where should I look? By the time I posted here I was a walking mass of frustration and my husband knew to hide in a closet. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2021 2:24:18 AM Curry Kenworthy via use-livecode wrote: Jacqueline: If the third param is omitted, the script compiles okay but apparently aborts with no error message and no information when the app runs on the device. Hey LC Team: This may be not merely a bug, but also a "bad habit" in coding practice. A habit that leads to multiple bugs. I've seen similar "aborts" that halt execution but otherwise fail without warning or info. The LCS equivalent would be a tendency to overuse "exit to top" in situations where a "return" or an error bailout would be more appropriate. Perhaps only intended as a temporary placeholder and forgotten, but either way, a better habit would reduce the number of future bugs/glitches that follow this pattern. Thanks Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Android SDK lesson
My advice to LC Ltd was: since Android Studio incorporates its own JDK and LC Ltd's official advice is to install Android Studio, then the simplest path is to have the IDE rely on the paths of that bundled JDK to setup and configure the LC/Android interactions. On Mon, Sep 20, 2021 at 12:43 PM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Bernard, > > I did and it says not a valid Android SDK path - and yet B4A accepts it > without any protestations. > > I have posted to the thread you were helping people at omn the forum. > > We have to get a definitive "no pain" way of installation as it seems there > are different problems on different platforms. > > Lagi > > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Android SDK lesson
Hi Bernard, I did and it says not a valid Android SDK path - and yet B4A accepts it without any protestations. I have posted to the thread you were helping people at omn the forum. We have to get a definitive "no pain" way of installation as it seems there are different problems on different platforms. Lagi On Sun, 19 Sept 2021 at 10:33, Bernard Devlin via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Lagi > > I'd suggest following the Lesson as the most straightforward route. Let us > know if that doesn't work. > > Regards, Bernard > > On Sat, Sep 18, 2021 at 8:17 PM Lagi Pittas via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > > I will look for a thread by you and expect that it should be the latest > > unless you say otherwise - you didn't say if it works on the latest yet > > though - which version of indy should I use? > > > > Regards Lagi > > > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Hello Jacque, Nice, I'll make sure this note is added to the docs at least. Ideally we'll fix it in the engine too, so as it throws an error if the 3rd param is empty. Now, you said you got the login dialog. What happened next, after you entered your test apple ID details? Did you get a dialog for the in-app purchase, where the price was listed, and you had to choose Buy or Cancel? Or did you get an error dialog? Also, where is the handler. for purchaseStateUpdate? Is it in the stack script? I think it has to be in the stack script Kind regards, Panos -- On Sun, 19 Sept 2021 at 19:41, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Even a note in the documentation would help. I spent two weeks trying to > figure out the problem. Was it my store setup? The iPhone? My script, > which > was based on the lesson example? Did I set up my store products wrong? > Just > where should I look? > > By the time I posted here I was a walking mass of frustration and my > husband knew to hide in a closet. > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 19, 2021 2:24:18 AM Curry Kenworthy via use-livecode > wrote: > > > Jacqueline: > > > > > If the third param is omitted, the script compiles okay > > > but apparently aborts with no error message > > > and no information when the app runs on the device. > > > > Hey LC Team: This may be not merely a bug, > > but also a "bad habit" in coding practice. > > A habit that leads to multiple bugs. > > > > I've seen similar "aborts" that halt execution > > but otherwise fail without warning or info. > > > > The LCS equivalent would be a tendency > > to overuse "exit to top" in situations > > where a "return" or an error bailout > > would be more appropriate. > > > > Perhaps only intended as a temporary placeholder > > and forgotten, but either way, a better habit > > would reduce the number of future bugs/glitches > > that follow this pattern. Thanks > > > > Best wishes, > > > > Curry Kenworthy > > > > Custom Software Development > > "Better Methods, Better Results" > > LiveCode Training and Consulting > > http://livecodeconsulting.com/ > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How to suppress the Modal Purge dialog? -- Name space conflict
Roland: > there are number of stacks that have the same stack name 1. Use "delete stack" to remove one from memory before loading another. Do it carefully; this is a powerful command! See the dictionary. > I am not just talking about my own stacks, > but also stacks from third parties, and opens sources 2. The first step after creating a new stack (before adding controls) is: give it an unusual name. This is done BEFORE the stack is ever saved. Otherwise we see "Untitled" stacks floating around. I'm sure Roland knows this; I'm speaking to the Community. We also have a "so many roads" ♫ meme and fan club, and just as with real highways, yes there are infinitely many paths. But very few efficient ones to a destination! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode