How my application can get auto updates for my specific clients for testing before launch to the appstore. i want to host my app somewhere from where my installed app on some selected clients can get auto updates for testing instead of all the time install for each person mobile manually.
You can upload your apk into alpha or beta testing channel on Google Play. This way the app is not publish on Google Play and only registered tester (which you add/invite them) can get app. It also auto updates the app for testers when you push a new version into the testing channel.
Related
I have 2 mobile apps and one web app which use the same Firebase Auth and Notification services. I only use Auth and Notification services, nothing else.
I require to have a staging environment and production environment, and both need to run in parallel.
I do not see other option in Firebase rather than creating two different projects. But that's risky, because I have to replace the JSON files in mobile app, replace Admin SDK stuff in web app and so on.
So what's the best option for this? I use Firebase only for Auth and Notification. In notification I send messages to individual devices and user groups.
maybe asking the users to use different email accounts for testing and production is the way to go? (Because then the Auth data will not be messed up even though the same Auth space is used)
You could have only one single Firebase project and inside this project create several apps. For instance, you could create an app for production with the package name(android)/bundle id(iOS) "com.example.myapp" and another for staging "com.example.myapp.staging". That way, you can download a single json file with both configurations. In your android studio/xcode, you have to set up those package name/bundle id with the corresponding build configuration.
I wrote an android app. It works correctly (install and run), but when I change the app bundle identifier, keystore, name of app and name of the company and after that and trying to install the "new app", my device says that the app can't be installed.
But if I delete the old app it's okay to install the new one. Why?
An android device can only have 1 installation of 1 package id.
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the device and in Google Play Store. If you want to upload a new version of your app, the application ID (and the certificate you sign it with) must be the same as the original APK—if you change the application ID, Google Play Store treats the APK as a completely different app. So once you publish your app, you should never change the application ID
So, the really problem was with Facebook SDK, which i used in my applications. If you will try to install new app with same Facebook SDK ID you will get error.
I have created an app and a service (service for Leaderboard), everything works fine with leaderboard when i am signed in with my tester google account. When i change to another account it show me:
RESULT_LICENSE_FAILED Error=3 Code=10003
p.s.1 My service is fully published
p.s.2 My updated app (implementing Google Play Services -Leadeboard) is not published at Play Store.
Do you think that if i publish my updated app will be working fine, or i have to check something else?
Enabling anti piracy in the linked application when you setup your game could cause this, see https://developers.google.com/games/services/android/antipiracy
This can cause that error when not downloading the app from the play store.
I'm new to Android and I don't understand some concepts.What is registration ID used in Google Cloud Messaging?How does it creates internally - it is unique device id as Apple device token or something else?How does it differs from application id? It is may be a stupid question but I really don't understand the concepts.
Is the temporally ID that allows to GCM services identify your device-application, so trough your server you can send messages to GCM and this will redirect it to your device. More info here
In advance i copy some text:
An ID issued by the GCM servers to the Android application that allows it to receive messages. Once the Android application has the registration ID, it sends it to the 3rd-party application server, which uses it to identify each device that has registered to receive messages for a given Android application. In other words, a registration ID is tied to a particular Android application running on a particular device.
It's documented quite fine there: http://developer.android.com/google/gcm/gs.html
For sender ID:
Open the Google APIs Console page. If you haven't created an API
project yet, this page will prompt you to do so:
Note: If you already have existing projects, the first page you see
will be the Dashboard page. From there you can create a new project by
opening the project drop-down menu (upper left corner) and choosing
Other projects > Create. Click Create project. Your browser URL will
change to something like:
https://code.google.com/apis/console/#project:4815162342
Take note of the value after #project: (4815162342 in this example). This is your project number, and it will be used later on as the GCM
sender ID.
As for ID returned after GCM registration - how it is created is not really important, but it's unique ID per your device + the Google account active on the device.
I'm working on connecting an android app in Java with google app engine. This is my first time doing it. I watched and did the same thing that it was done in this video:
http://www.youtube.com/watch?v=M7SxNNC429U
I have been working and I'm getting the same problem. When creating the project and running it, it runs but it shows me a message that I have to create/add an account, I already register it when creating the project. When I enter my gmail account info it shows me a message saying: "Can not connect with the server". I'm not sure what it is happening, please a ed help on it, thanks for you time and patience.
Careful C2DM is deprecated in favor of Google Cloud Messaging and the latest Google plugin doesn't have the wizard for creating a App engine connected android project
That video is awesome, but there's some useful documentation for AppEngine Connected Android apps too. Specifically in the Creating A New Project section, it explicitly states,
Important: You must sign up for a C2DM account using the same Google account that you use for the Android application you are developing and for the GPE plugin.
You can go back and edit things later so that the account you're logging into the app with is separate from the role account being used for C2DM. But for the code generated by the plugin, they have to be the same account. Also, don't forget you actually have to sign up for C2DM, as it isn't enabled in all accounts by default.