How to enable SKAdNetwork for Google AdMob in my managed Expo React-Native app - react-native

So I have Google AdMob implemented in my Expo React-Native app and everything is working fine. I got this alert two days ago in AdMob console, I have been googling for the past two days but cannot find any answer to:
How to enable enable SKAdNetwork to track conversions https://developers.google.com/admob/ios/ios14?hl=en-US ?
Do I need to do anything?
Some apps haven't been configured to use Apple's SKAdNetwork
To ensure you're getting credit for all ads activity, like app installs, be sure to configure SKAdNetwork with Google's recommended network IDs.

Related

Using Expo's Google authentication integration vs react-native-google-signin

I'm building my first React Native app and I want to have Google signin.
I first went down the path of trying to integrate the library react-native-google-signin - seemed like a promising library! But then very quickly I got mired in problems with my development environment and figuring out Expo development builds. I never quite got it working.
Then I tried Expo's Google authentication integration, and I've gotten that working, at least on web and iOS via Expo. It returns the logged-in user's Google access_token, which I think is all I'm needing (I currently don't need access to any other of the user's Google data).
My main question is: what are the drawbacks or limitations of using Expo's authentication option, or, why would I want to use the react-native-google-signin library despite its much greater added complexity? Is the Expo option going to break when I try to officially turn my app into a native iOS app?

App won't run without google play services, which are not supported by your device Error while using firebase analytics for react native mobile app

I am trying to integrate firebase analytics on react native app, I have completed all the prerequisites and got a successful build running on Honeywell android Device, but when I open the app it gives above error. There are many such duplicate question but nothing works for me as I can't have play store as the target devices are Handheld android devices and not mobile devices. How to integrate firebase analytics without having to install google play service.
Thanks for Answer #JakeSteam
But I could get firebase integration working without google play service error.
Issue Details:
I was using react native firebase 5.x.x, which works fine but will give a pop up message mentioned in question if your device doesn't have google play service.
Workaround:
Upgrade react native firebase to version 6.x.x, the community has redeveloped this repo and I am not having issues with it now.
NOTE:
Without google play service on your device you can only use few firebase services like analytics, crashlytics etc.
As a Firebaser said:
Firebase as a platform requires Google Play Services, even though some Firebase products may be able to work without it.
If you cannot use Google Play Services, you may want to look into Google Analytics, which does not require it:
Note: Google Analytics can be used and will work on devices that do not have Google Play Services. In this case you still download and use the Google Play Services SDK and Google Analytics will automatically fall back to local dispatching.

React Native Remote Notifications

So what are your experiences with sending remote notifications to RN app from FCM?
I did some research today, tried bunch of tutorials, but most of them didn't work.
So I wanna hear your opinion, which library are you using for this and what guide did you follow?
react-native-push-notification
react-native-fcm
react-native-firebase
react-native-onesignal
I did the connection a few days ago. It is not difficult but it requires a lot of configuration as notification is a native feature. I recommend you the following library that can help you:
React Native FCM
Also take in count the following things:
For ios you need get some certificates from apple.
This guide help with the setup and android part.
Remote notification can't reach iOS emulator since it can't fetch APNS token. Use real device.
I used to react-native-fcm, but now I use react-native-firebase, it is simple to use, just follow the documentation https://rnfirebase.io/docs/v5.x.x/getting-started
just follow the installation tab guide, cloud messaging tab guide, and notification tab, also you can find js code there. for IOS part, you need some extra work to add some certificate to your developer id and add some certificate to your firebase app.

Google Sign-in for Unity without Google+?

I'm developing an application in Unity, primarily focusing on iOS right now.
For the backend, I decided to try out firebase since they have a Unity package and so far its been pretty painless.
Does a Google Signin option exist for Unity that doesnt involve GooglePlayGames (GPG)?
I'm not interested in integrating to that platform at all, Im really just after the Sign in feature so I can grab the user token and authenticate to Firebase.
I currently have GPG and Firebase up and running...and it works great.
My issue is that if a user is not a Google+ member, they cant authenticate since apparently GPG relies heavy on that.
All I'm really after is a solution for vanilla Google Login that would give me an auth token I can use in Firebase...
If you're familiar with Pokemon Go...a very similar login flow.
With that app i was able to use a google account that doesnt have google+ and everything worked fine.
First of all, don't use the Google Play games plugin; it doesn't work for iOS anyways if you don't have an existing Google Play games account via any Android device usage in past. Even for many Android users Play Games apps won't work because it's not packaged with every Android device.
However, I am using this Google Login Unity plugin in iOS & Android which is available in the Asset Store. It works really well.
https://www.assetstore.unity3d.com/en/content/94517

Facebook Login not working if official app's installed

I'm trying to set up Facebook in my android app but I had a problem and even the samples didn't work ! Then I tried again on different devices and I just figured out the samples only work on devices which do not have official facebook app installed. It seemed to me completely illogical so I checked : installing the Facebook App and it wasn't working anymore, deleting it, it worked fine then no issue. So here my question : Why is that and how to fix it when Facebook Official App is already installed in device ?
Looks like you have not added key hash to app dashboard or it is invalid. To properly handle Facebook Login using the Facebook for Android app you will have to add valid key hash to the app dashboard. Have a look at this: https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/
check 'App Dashboard Configuration' and 'Troubleshooting' sections.