I am trying to test my flutter in app implementation.
In itunesconnect->Users and Access->Testers (https://appstoreconnect.apple.com/access/testers), I added one sandbox user.
Then I launch the IOS simulator from Android Studio. Going through the steps to sign in, I always cant seem to sign in.
Could Not Sign In User name or password is incorrect
See the screenshots - https://imgur.com/a/lE2RiCp
I know the username and password is correct as I am able to sign in into apple id site (https://appleid.apple.com/#!&page=signin)
How can I resolve this sign in problem or what should I do to test (sandbox) in app on ios ?
You can either add new IAP under same group, or create new group, or even delete the existing one. The final step now is making this configuration file is available for testing in the simulator. What you need to do is using the storekit in our debug options in our scheme.
It is impossible to make a purchase on a simulator (it is only possible to request a list of available purchases). To test purchases, you first need to set up products on App Store Connect and then use the user's sandbox environment and a real device. In this case, purchases for the developer are free.
To test your In App functionality against the In App Purchase sandbox, connect your device to your development workstation then choose iPhone Device as the Active SDK— the StoreKit APIs are not available in the iPhone simulator. So in-app purchase sandbox accounts cannot be used on iOS Simulator.
Xcode build & run works, but flutter run does not start the app on the device. $ flutter run Launching lib/main.dart on iPhone X in debug mode...
The command flutter build ios --debug --no-codesign --flavor dev seems to build a correct .app with the correct bundle identifier (the packaged Info.plist has the correct infos). The command flutter run --verbose --debug --flavor dev shows that the default bundle identifier is used for all the executed xcrun commands.
If you can’t see the iOS simulators in Android studio, you can follow these steps. This issue occurs mostly if you are using a new Mac system, you are updating XCode or you don’t have XCode installed. Let me show you what is the issue and how to fix it.
To test your In App functionality against the In App Purchase sandbox, connect your device to your development workstation then choose iPhone Device as the Active SDK—the StoreKit APIs are not available in the iPhone simulator.
See: https://developer.apple.com/news/?id=08282009a
So in-app purchase sandbox accounts cannot be used on iOS Simulator. You would have to connect an iOS device and link that with Android Studio. In that way, the app runs on a physical device. For this, you would need a Mac. Besides make sure you always take into account the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With