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

appID vs appleID #62

Open
TomSwift opened this issue Apr 24, 2019 · 3 comments
Open

appID vs appleID #62

TomSwift opened this issue Apr 24, 2019 · 3 comments

Comments

@TomSwift
Copy link

Looking for clarity on whether this is a purposeful naming mismatch or not, and whether there is documentation on either:

configuration.appID = configurationDictionary[@"appleID"];

I don't see any documentation in the React Native Integration Reference, and only a single reference to appID in a code sample in the iOS Integration Reference. Is setting this property required?

@frankus
Copy link
Collaborator

frankus commented Apr 24, 2019

Thanks for bringing this to our attention. I've opened an issue internally around improving the documentation here.

But to answer your question, this value should be set to the iTunes Store ID of the app. If the app hasn't yet been released, you can provisionally create it in Apple's App Store Connect site and grab the value from the "Apple ID" field on the "App Information" tab for the app.

It is used for the (currently not exposed in our React Native module) openAppStore method which launches the App Store and navigates to the specified app, and by the rating prompt on devices running iOS 10.2.x or earlier (which don't support the OS's built-in rating dialog).

On the iOS side of things, it's named appID mostly for historical reasons, so appleID is an attempt to move toward consistency with Apple's own nomenclature.

@TomSwift
Copy link
Author

Thanks. It's unfortunate naming on Apple's part, since "Apple ID" refers to a couple of entirely different things. I've seen other vendors who want this value call it appleAppID.

@TomSwift
Copy link
Author

I ran into this again today (3 years later, updating our Apptentive integration...). It's annoying that this property isn't expressed in the react-native SDK because it results in a runtime warning to the console:

E/Apptentive: [Apptentive Main Queue] No App ID set. This may keep the ratings prompt from directing users to your app in the App Store.

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