I have a Android app that uses Firebase database and planning to build an iOS counter part of it. Can I use the same Firebase database of my Android app? If not, is there a way to merge the datas in the Android Firebase database and iOS Firebase database?
Can i use the same firebase database of my android app?
Yes you can. You need to go to your Firebase Console, select your project, add app and select iOS. Provide all the necessary details for the package name. Download the latest JSON file and add it to your project.
if not is there a way to merge the datas in the android firebase database and iOS firebase database?
There aren't two databases, an Android database and an iOS database. There is a single database that can be accessed by Android and iOS apps.
Related
I have an app with a sqlite database and user data. I have made a new app but it uses the same structure and I would like to migrate the data from the first app.
Both apps need to be in the app store, therebefore I cannot just update the app.
Is there any way to import/export the database to another app?
I checked out Room https://developer.android.com/training/data-storage/room
but I'm not sure if it's possible with it.
Thanks!
I have an android app and an IOS, both connected to the Firebase database. I want to fetch the data in the ios app from the database of the android app and vice verse. Is it possible ? if yes then how? and if not, Then what will be the solution ?
You can register multiple apps in the project settings those apps can be on multiple platforms and they can communicate with your database.
So basically you need to go to Firebase Console > Settings cog > Project settings > Add an app. Adding app will allow you to share database (and other firebase features) securely across apps/platforms
So I have a personal project, which is on github, but is now private, because it uses firebase database, and using the app lets you control my house lights, etc.
How can I make my app public without letting using my database?
App doesn't require any authentication.
Don't check in your google-services.json file. This is where the app gains knowledge of how to access the database. Instruct the users of your source code to create their own Firebase project and add their own google-services.json file to the project to get their own database to work with.
By the way, if your app doesn't use Firebase Authentication and it's given permission to read and write the database, then anyone who knows the name of your project will also be able to read and write the database. The name of your database can be gained by simply breaking down the APK.
I am a beginner in developing android apps, and I need to know which kind of access do I need in order to retrieve data from a web database server to an android app.
You can use Firebase from Google for better database support for your app. You can easily do that using Firebase Documentation.
I want to know how to store vales while using android sdk with eclipse. For example if i create a login page, where will I store my values? Is it a regular database like mySQL or something else? How to use database with sdk?
Please go through this link for various Storage Options in android. Generally, how the apps are designed is they store the user credentials in a db that is present on the server. You make API calls through your android app and store the data there and fetch it when needed.