This is a simple demo of how to use the Local and Push Notifications in a Capacitor Project. The Push Notifications are powered by Google Firebase. For more information about the Firebase Push Notifications with a Capacitor app, please check the Capacitor Documentation.
- Clone this repository
- Run
npm install
to install all dependencies - Run
ionic build
to build the web assets - Run
npx cap sync
to sync the web assets with the native projects - Run
npx cap open ios
to open the iOS project in Xcode - Run
npx cap open android
to open the Android project in Android Studio
Please note that you'll need to provide your own GoogleService-Info.plist
and google-services.json
files in order to use the Push Notifications. For more information, please check the Capacitor Documentation.