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 - react-native

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.

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?

Google Play Reject: Is there a way to use Firebase Analytics without using background location?

I've uploaded my react-native app to Google Play and it has been rejected due to using background location permission.
The rejection email from Google Play
Google Play won't allow any background location usage without valid proof of using it, which is a thing I cannot even prove.
After drilling it down, I found out that the only entity that's using this permission is Firebase Analytics (I guess it's the Google Play Services plugin).
Does anybody know how to bypass it?
I'm using the most updated react-native & expo versions.
Thank you for your assistance

Is there a way to implement server side verification in google admob using react-native/expo and not android only?

I'm developing a expo/react-native app.
I want to use google admob inside my app (rewarded ads, videos), and verify in my server (node.js) if the user did finish the ad.
I saw in the website of google admob that there is a way to verify this in android. This is the link: https://developers.google.com/admob/android/rewarded-video-ssv
But I could not find anywhere, a way to verify it in react-native/expo app. (with node.js server).
I want to know if this is possible, and if so what is the best way to do it.

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

Device tells us we need Google Play Services to Use Maps on Android device

we've been working with a 3rd party Android device that uses API 17. We want to make a native Google API app so that we can map data for our customers. What happens is the app crashes and it says "Google Play Services required". Is there a workaround to this? can we somehow embed or package a file that is good enough to use Maps? We've spoken with the hardware company and they made a decision to not allow google play services. We are partnering with them to release the device with a couple of apps we offer with the device. Any help is appreciated
Google Play services enables Maps to run on your Android devices, as per Google statement:
With Google Play services, your app can take advantage of the latest,
Google-powered features such as Maps, Google+, and more, with
automatic platform updates distributed as an APK through the Google
Play store. This makes it faster for your users to receive updates and
easier for you to integrate the newest that Google has to offer.
That means you need Google Play services to make Google Maps work.
Download it here.