I have successfully implemented notifications on my website using Firebase, and now I have an Android app developed by someone else. This app essentially functions as a container for the website via webView, along with additional tools like a QR reader.
Since I am not familiar with app development and mainly focus on web development, the developer informed me that he has done his part by integrating the necessary components (possibly through phonegap) within the app. However, he mentioned that I need to add some code to the website in order for the notifications to work within the app as well. Does this process make sense to anyone? I always thought that Firebase's functionality was platform-wide.
Below is some configuration information from the Firebase Console for the web:
// Initialize Firebase
var config = {
apiKey: "AIzaSyBXXXXXXXXXXXXXXXXXXXXXXXXXXXX,
authDomain: "doi-18XXXXXX.firebaseapp.com",
databaseURL: "https://doi-18XXXXXX.firebaseio.com",
projectId: "doi-18XXXXXX",
storageBucket: "doi-18XXXXXX.appspot.com",
messagingSenderId: "36XXXXXXX"
};
firebase.initializeApp(config);
Additionally, here is the google-services.json
file that was provided to the app developer (not related to the website)
{
"project_info": {
"project_number": "36XXXXXX",
"firebase_url": "https://doi-18XXXXXX.firebaseio.com",
"project_id": "doi-18XXXXXX",
"storage_bucket": "doi-18XXXXXX.appspot.com"
},
// Additional configurations...
}
Furthermore, the following snippet shows the server-side code written in VBScript that currently sends notifications only to web destinations:
// Server-side code example
// ...
Given these details, I am confused about whether any further changes are required on my end. Any insights would be greatly appreciated. Thank you!