-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Review Notes/Suggestions #2
Comments
|
Pending:
|
@Salakar @mikehardy I would consider renaming the package to: react-native-google-mobile-ads or react-native-mobile-ads as the SDK is called the "Mobile Ads SDK". To initialize the SDK on the native side you'd call: MobileAds.initialize() See: |
@Salakar this is totally up to you, I'm pretty agnostic about naming other than being sort of lazy about it (thus having no motivation to change it myself, sorry to all involved). @dylancom you appear to feel pretty strongly "mobile" should be in the package name, you've mentioned it more than once. I do hear you Would be nice to have a slightly shorter name if it were renamed, not sure what can be done about that while still having "react-native". If it were to change perhaps pulling it from |
Because it was chosen to step away from admob and use the actual sdk name, I feel we should then properly use the sdk name.
… Op 31 dec. 2021 om 16:44 heeft Mike Hardy ***@***.***> het volgende geschreven:
@Salakar this is totally up to you, I'm pretty agnostic about naming other than being sort of lazy about it (thus having no motivation to change it myself, sorry to all involved). @dylancom you appear to feel pretty strongly "mobile" should be in the package name, you've mentioned it more than once. I do hear you
Would be nice to have a slightly shorter name if it were renamed, not sure what can be done about that while still having "react-native". If it were to change perhaps pulling it from @invertase namespace on npmjs would be nice, e.g. https://www.npmjs.com/package/react-native-google-mobile-ads (which is not taken at the moment).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
@mikehardy I think we can close this? |
Yeah pretty much rolled through and either did exactly this or similar enough |
I know this repo is initially just a lift and shift of original code from RNFirebase to get it moved out and working separately but I had some notes/ideas/suggestions for future improvements/cleanup:
@invertase/react-native-google-ads
to match native SDK names - I don't think this is actually AdMob anymore?admob.json
to the pre-existingapp.json
config file that RN already has - our existing gradle/pod scripts would just point to this file instead and look for say agoogle-ads
object. (Could be one to consider for RNFB too)Not to say we need to block this for any of the above, just FYI / feedback. Thanks for getting this moved over also 🎉
The text was updated successfully, but these errors were encountered: