What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-11 18:30:30
ionic 5 "firebasex" plugin grant Permission tutorial
import { FirebaseX } from '@ionic-native/firebase-x/ngx'; constructor(private firebaseX: FirebaseX) { } ... this.firebaseX.getToken() .then(token => console.log(`The token is ${token}`)) // save the token server-side and use it to push notificat... Add solution -
Javascript 2021-10-24 20:15:15
ask for expo token and save to firebase
registerForPushNotifications = async () =>{//Get the current users id So you can post the token to the user in your databaseconst currentUser = firebase.auth().currentUser.uidconst { status: existingStatus } = await Permissions.getAsync(Permissions.NO... Add solution