Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.x.x sdk issue #132

Closed
aligurelli opened this issue Dec 6, 2024 · 11 comments
Closed

3.x.x sdk issue #132

aligurelli opened this issue Dec 6, 2024 · 11 comments

Comments

@aligurelli
Copy link

aligurelli commented Dec 6, 2024

in app purchases and subscriptions working well on 2.x.x sdk on both testflight and sandbox mode. but when i upgrade flutter sdk to 3.x.x i am getting "purchase is not allowed for this device" error for both on sandbox and testlight. i already sent a e-mail to [email protected] and received a message including "our ios team says that its related with apple". but definetly its not since its working as expected with 2.x.x

also, i implemented superwall sdk to make sure the problem is not on my side. and there was no issue with superwall too, everything worked as expected. so please fix this issue asap 🙏 i can share my p8 file,issuer id, key id and an other necessary informations with you via email to make you replicate this issue on your side. also i can add you as developer to my account to replicate this issue if its required. please reach out to me if you need this informations: [email protected]

so briefly:

  • IAP and subscriptions works as expected with 2.x.x adapty flutter sdk version
  • IAP and subscriptions works as expected with superwall's latest sdk version - www.superwall.com
  • IAP and subscriptions does not work with 3.x.x adapty flutter sdk version - getting "purchase is not allowed for this device" error for both on sandbox and testflight
@x401om
Copy link
Collaborator

x401om commented Dec 9, 2024

Hi @aligurelli! I understand that you currently have an active inquiry with our support team. We are awaiting the verbose logs. I will keep the issue open in the meantime.

@aligurelli
Copy link
Author

Hi @aligurelli! I understand that you currently have an active inquiry with our support team. We are awaiting the verbose logs. I will keep the issue open in the meantime.

i already shared with support team. can you check please

@aligurelli
Copy link
Author

Hi @aligurelli! I understand that you currently have an active inquiry with our support team. We are awaiting the verbose logs. I will keep the issue open in the meantime.

sorry just saw their new mail. they wanted me to update 3.2.3 and then share logs again. will be updating you :)

@aligurelli
Copy link
Author

aligurelli commented Dec 9, 2024

@x401om hello 👋

the issue is still there. i updated 3.2.3 sdk version and still having the issue. also shared log on google docs:

https://docs.google.com... [removed]

ps: even though i updated 3.2.3 version the logs still say adapty sdk version 3.2.1 for some reason.

@x401om
Copy link
Collaborator

x401om commented Dec 9, 2024

@aligurelli Please avoid sharing logs directly here, as they may contain sensitive information. I have removed the link from your comment. I will review the logs and respond to you through the support team. Thank you!

@aligurelli
Copy link
Author

@aligurelli Please avoid sharing logs directly here, as they may contain sensitive information. I have removed the link from your comment. I will review the logs and respond to you through the support team. Thank you!

hi 👋 is there any news? i need to send the update asap since apple will have a christmas break :/

@aligurelli
Copy link
Author

aligurelli commented Dec 10, 2024

@aligurelli Please avoid sharing logs directly here, as they may contain sensitive information. I have removed the link from your comment. I will review the logs and respond to you through the support team. Thank you!

hi. i just recieved a message from support team. the developer said: 'As far as I can see from the logs, they are using the iOS simulator without any active Sandbox account or even StoreKit configuration files. While we don’t fully support StoreKit configuration files, it is possible to fetch products if such a file is used. Please suggest they use a real device with a Sandbox account created via App Store Connect and try again."

as i mentioned on the issue description: i already tried both sandbox mode with a real device created by ApStore Connect. i already tried from testflight build from 5 different iphone. the result is same. also:

IAP and subscriptions works as expected with 2.x.x adapty flutter sdk version
IAP and subscriptions works as expected with superwall's latest sdk version - www.superwall.com
IAP and subscriptions does not work with 3.x.x adapty flutter sdk version - getting "purchase is not allowed for this device" error for both on sandbox and testflight

@x401om
Copy link
Collaborator

x401om commented Dec 10, 2024

Hi @aligurelli, you’ve shared the logs from the iOS Simulator. Please run the application on a real device and send us its verbose logs so we can investigate the error.

@aligurelli
Copy link
Author

Hi @aligurelli, you’ve shared the logs from the iOS Simulator. Please run the application on a real device and send us its verbose logs so we can investigate the error.

surely. doing it right now

@aligurelli
Copy link
Author

Hi @aligurelli, you’ve shared the logs from the iOS Simulator. Please run the application on a real device and send us its verbose logs so we can investigate the error.

surely. doing it right now

@x401om just sent it to support team :) again, the sandbox user is registered on appstore connect. its working with 2.x.x sdk, as well as superwall 😊 thank you for your helps!

please feel free to reach out me directy by [email protected] if you need any information such as adding you into appstore connect team as developer.

@x401om
Copy link
Collaborator

x401om commented Dec 10, 2024

@aligurelli We noticed you are activating Adapty with observerMode: true. It is not possible to use makePurchase method in Observer Mode, please consider using the full mode.

@x401om x401om closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants