-
Notifications
You must be signed in to change notification settings - Fork 33
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
Plugin not working when deployed via TestFlight/iTunesConnect #27
Comments
I was able to kind of localise the problematic lines of code, so in the
As we're close to release we needed to quickly fix it, therefore we've forked your plugin. You can see the fix here: I know this is not a proper solution, just a workaround, as we don't need to know which one is used. Nevertheless, something must be wrong with these two lines, but I don't know what? I've even quickly created an XCode project and verified that these lines of code work natively on iOS and they do. It even works in Nativescript locally, it actually only appears when publishing to TestFlight (via What's your opinion on this? I'd be happy to provide a final solution to this, but I'm out of ideas. Since I don't understand the difference between a local production build and a TestFlight release. |
Thanks for those details! I've replaced those properties by their constant values. Should work. Now available in 6.0.2. |
Thank you very much for fixing this bug, it works fine now! Could you maybe explain to me why this only appeared on a TestFlight build? I'd like to understand the problem bit better, as we also had different issue which only appeared on a TestFlight build. |
Looks like a production build strips certain iOS SDK symbols it shouldn't. Like those constants that I've replaced with their runtime values. |
When using the plugin in a production build deployed via
tns publish ios
the availability check seems to fail.The code we are running and which works in a normal development build fine, are the following lines of code:
Since it is somehow very hard to get some information from a TestFlight build about what's happening, I could figure out the following error in the console.app on my mac:
The app is not crashing but the availability functionality is not working, it seems to be false although my phone has TouchID enabled and it works fine in development builds locally.
When downgrading the plugin to version 4.0.1 it works fine for iOS, but there we have the problem of the compatibility on Android with the new nativescript version.
We would like to find a way fixing the problem but currently we're pretty lost. We don't really understand what's the difference between the local build and a TestFlight build, what happens there that could influence the plugin's functionality.
Any suggestions for the analytics or solutions of the problem?
The text was updated successfully, but these errors were encountered: