can't find handler mobileStoreEnablePurchaseUpdates
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
can't find handler mobileStoreEnablePurchaseUpdates
Hi
Ok. This one has me confused.
I have written an app and it work great. I want to implement in-app purchases and followed the instructions at
http://lessons.livecode.com/m/4069/l/18 ... e-appstore
Simples, or so it seems .but. I get an errror - can't find handler mobileStoreEnablePurchaseUpdates
So I tried other mobilestore commands and get the same - can't find handler.
Ok. So it looks like I need a support stack, library or extension to support it. Hunt, hunt, hunt - Can't find a reference to what I need.
Grumble. Grumble
I hunt the forums and the only other post similar to this does not have a response.
ARGH!
So
What do I need to do to enable the mobilestore commands?
I am using livecode 8.1.6
Thanks in advance
Matt
Ok. This one has me confused.
I have written an app and it work great. I want to implement in-app purchases and followed the instructions at
http://lessons.livecode.com/m/4069/l/18 ... e-appstore
Simples, or so it seems .but. I get an errror - can't find handler mobileStoreEnablePurchaseUpdates
So I tried other mobilestore commands and get the same - can't find handler.
Ok. So it looks like I need a support stack, library or extension to support it. Hunt, hunt, hunt - Can't find a reference to what I need.
Grumble. Grumble
I hunt the forums and the only other post similar to this does not have a response.
ARGH!
So
What do I need to do to enable the mobilestore commands?
I am using livecode 8.1.6
Thanks in advance
Matt
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: can't find handler mobileStoreEnablePurchaseUpdates
Hi Matt,
Are you testing on an iOS device? These commands are not expected to work on desktop or iOS simulator.
Best,
Panos
--
PS: Can someone with admin access move this thread to Platform Specific -> iOS Deployment?
Are you testing on an iOS device? These commands are not expected to work on desktop or iOS simulator.
Best,
Panos
--
PS: Can someone with admin access move this thread to Platform Specific -> iOS Deployment?
Re: can't find handler mobileStoreEnablePurchaseUpdates
oh.
That is a nice to know. That would explain it.
I find it amazing that it is not mentioned anywhere.
Thanks
That is a nice to know. That would explain it.
I find it amazing that it is not mentioned anywhere.
Thanks
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: can't find handler mobileStoreEnablePurchaseUpdates
Hi Matt,
All the commands/functions that begin with "mobile*" work only on mobile (iOS+Android), in both device and simulator.
However, the In-App Purchase related commands only work on a physical device (this is a restriction imposed by Apple, not LiveCode). This is mentioned in the lessons IIRC.
Best,
Panos
--
All the commands/functions that begin with "mobile*" work only on mobile (iOS+Android), in both device and simulator.
However, the In-App Purchase related commands only work on a physical device (this is a restriction imposed by Apple, not LiveCode). This is mentioned in the lessons IIRC.
Best,
Panos
--
Re: can't find handler mobileStoreEnablePurchaseUpdates
Hi
You mention that it is mentioned in a lesson. I have read the livecode documentation and did not see it.
Where is it mentioned because it makes me wonder what else I missed.
Thanks
(I also reported this post to the admin as it is off topic- asking them to move it to the correct forum)
You mention that it is mentioned in a lesson. I have read the livecode documentation and did not see it.
Where is it mentioned because it makes me wonder what else I missed.
Thanks
(I also reported this post to the admin as it is off topic- asking them to move it to the correct forum)
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: can't find handler mobileStoreEnablePurchaseUpdates
Hi Matt,
You are right, this is mentioned only in a comment in the lesson you linked:
"Moreover, you have to use LC 6.7 or above, and make sure you test your in-app purchases on a physical Apple mobile device. Testing on simulator may not work. Furthermore, it is recommended to have a test account set up in iTunes Connect so that you can test your in-app purchases without spending any money."
Best,
Panos
--
You are right, this is mentioned only in a comment in the lesson you linked:
"Moreover, you have to use LC 6.7 or above, and make sure you test your in-app purchases on a physical Apple mobile device. Testing on simulator may not work. Furthermore, it is recommended to have a test account set up in iTunes Connect so that you can test your in-app purchases without spending any money."
Best,
Panos
--