Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49172

Ionic and Firebase for newbies

$
0
0

@rodusa wrote:

I am trying to understand how Ionic and Firebase play together in terms of security and distribution and I have one question that I could not find on the web. If someone could please help clear this or show at least the steps to secure the firebase auth keys.

If Ionic app is packaged via Cordova for Google Play and Apple store, how to handle Firebase auth security information (keys, etc.) Will it be packaged also? From what I' understood you put this info in the app.js file but this file is not secured.
How to properly secure this info when distributing the app?

// Initialize Firebase
var config = {
apiKey: "XXXX",
authDomain: "mmXXX.firebaseapp.com",
databaseURL: "https://mmxxxx.firebaseio.com",
storageBucket: "mmxxxxx.appspot.com",
};
firebase.initializeApp(config);

Thank you

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49172

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>