Can you use Firebase Analytics without Google Play Services installed? - firebase-analytics

I have been wrestling with Firebase Analytics and have managed to get a "Firebase app initialization successful". But I still get :
E/FirebaseInstanceId: Google Play services missing or without correct permission.
I have to install the app on a device that does not support Google Play Services (GPS), and is running Android Lollipop. I have followed this guide to avoid GPS, which hasn't worked. I do know that my setup works correctly, as I have successfully tested this on an Android emulator running GPS and Lollipop. So, is there a procedure for enabling Firebase Analytics without GPS ? Please link references that do not require GPS if you have them.

Related

chrome.enterprise.deviceAttributes availability for force-installed PWAs in chrome enterprise

I'm trying to determine if I can access any browser api for chrome OS that will allow me to identify the device that its running on when the application has been force-installed in kiosk mode as a PWA.
We're running into exactly the same issue right now. The correct path seems to be to create a PWA and to connect it to a (pre-installed) extension that has access to the enterprise.deviceAttributes:
See https://developers.chrome.com/apps/migration:
"If there is a capability that your Chrome App has that the regular web platform can't provide, it might be available as an extension API. In this case, you use a progressive web app together with an externally connectable extension your web app can send messages to."
enterprise.deviceAttributes are only accessible if the calling App/Site is pre-installed to the device and not loaded dynamically, so it cannot run in the PWA by design.
But with this tutorial, it seems possible:
https://developer.chrome.com/extensions/messaging#external-webpage
We're looking into that right now and will post our progess here.

Phonegap - Windows 8.1 , googlemap integration

We are facing following issue while integrating google map with phonegap windows build
An app can’t load remote web content in the local context.
The same code is working for Android and IOS platform,
We tried to use Iframe for this, not able to get through this, anybody has any information regarding this, how to solve this issue.
We followed following url to test it.
http://www.creepyed.com/2012/11/how-to-use-the-google-maps-api-on-windows-8/
The app is working fine when we run it from local machine as the target, When we deploy the same app in windows phone lumia it is not able to include google map api, it shows the "An app can't load remote web content in the local context"
Thanks
Mohsin

Deployed Steroid.js app not appearing in AppGyver Could Services

I am building a Steroid.js/PhoneGap App. I have successfully installed steroids CLI on my computer and am able to create steroids projects using the command.
steroids build {project_name}
My app requires Facebook Auth which I'm trying to implement via the Steroids integrated Facebook Plugin (ios) guide. As per the instructions I am able to generate a QR code for my app using the command
steroids connect
Once I scan the QR code with the AppGyver scanner app I am able to update the deploy app via the command
steroids deploy
But when I go to AppGyver Cloud Services as per the instructions in deploying to cloud services it says.
You have not built any of your apps to the AppGyver Cloud yet
Am I missing something?
As harsa_ suggested,
simply logging in the correct account should fix this issue.
Simply run
steroids logout
and then
steroids login
and everything should work correctly. The two main reasons this happens is because you're either:
1) Logged in in another account
2) You're not logged in

Working on iOS emulator, but not on phone (Phonegap and Google maps API)

I'm using Google Maps API and Phonegap to connect to a server and receive information and coordinates from a SQL database.
It works perfectly when I run the emulator on Xcode, but when I run it on my device (iPhone 4S 6.1) I get database errors.
Any ideas as to why this might be?
I can supply code if needed.

How to get google drive apps on multiple accounts

I'm running into what seems to be a serious usability problem for users trying to use a Google Drive app from more than one account. In order for an app to be able to use Drive APIs on a user's behalf, the user must install the associated Chrome Web Store app while logged in as that user. The problem is that the Chrome Web Store seems to look for an app being installed per browser, whereas the Drive API needs the app to be installed per user.
As far as I can tell, the only way to install the same app for multiple users in the same (Chrome) browser is to install with one user, then log in as the second user, uninstall the app (which the CWS says is already installed), and then reinstall it (so that Drive will mark the app as installed for the second user). This is a very confusing experience, because during this process the app and the CWS are sending the user mixed messages about whether the app is installed.
I'm not sure if there's a canonical app to test for system bugs like this. Is DrEdit live somewhere? But if you want to see the problem behavior in our implementation, install the Graphing Calculator by Desmos.com as one user, launch it and log in using google drive and verify that everything is working. Then log out from the app, and use https://accounts.google.com to log in to google as a different user, and try using the app again. The app will tell you that it isn't installed (that's what Drive's APIs are telling us) and direct you to the CWS, which claims that the app is installed.
We are aware of the issue. And I agree this is a really bad experience for users using the same Browser (and the same Chrome session). One of the issue is that the account you are logged-into chrome can be different than the account you are logged into Google Web (Gmail, Chrome Web Store, Drive etc...) Therefore the Chrome Web Store has to make a choice to either use the apps's install status on the Browser or the Web Google account.
If you write an FAQ for your users maybe you can suggest that the most effective way to install the app for the second user is to simply install it using another browser like Firefox. Especially since Firefox won't be impacted by this issue because the app doesn't get installed on Firefox, only on the Drive account :)
The bug is filed internally, now we can only wait for it to be prioritized and fixed/sorted-out. We are also working on some other way for apps to have an install flow that doesn't involve the Chrome Web Store so that it will be less impacted by all of he Chrome Web Store/Chrome browser intricacies.
I'll make sure to ping our eng team on that issue again.