parent
71c741766c
commit
52b34cf7cd
7 changed files with 9 additions and 24 deletions
@ -1,13 +1,7 @@ |
|||||||
# Push Notifications |
# Push Notifications |
||||||
|
|
||||||
To implement push notifications in Flutter using Firebase, follow these steps: |
Implementing Firebase push notifications in Flutter involves setting up a Firebase project, integrating the FCM plugin, handling and displaying incoming notifications within the app, testing through the Firebase Console or tools like Postman, and customizing notification appearance with icons, sounds, and vibration patterns. |
||||||
|
|
||||||
- Create a Firebase project and set up a Flutter app. |
|
||||||
- Integrate the Firebase Cloud Messaging (FCM) plugin in your Flutter app. |
|
||||||
- Handle the incoming push notifications in your Flutter app and specify how they should be displayed. |
|
||||||
- Send test push notifications using the Firebase Console or other tools like Postman. |
|
||||||
- Customize your notifications by specifying the notification icon, sound, and vibration pattern. |
|
||||||
|
|
||||||
Learn more from the following links: |
Learn more from the following links: |
||||||
|
|
||||||
- [@article@How do I set up push notifications?](https://docs.flutter.dev/get-started/flutter-for/android-devs#how-do-i-set-up-push-notifications) |
- [@official@How do I Set up Push Notifications?](https://docs.flutter.dev/get-started/flutter-for/android-devs#how-do-i-set-up-push-notifications) |
||||||
|
@ -1,18 +1,8 @@ |
|||||||
# Remote Config |
# Remote Config |
||||||
|
|
||||||
It is a cloud-based service that allows you to change the behavior and appearance of your app without requiring users to download an app update. In Flutter, you can use the firebase_remote_config plugin to access Firebase Remote Config. |
Firebase Remote Config, accessed in Flutter via the `firebase_remote_config` plugin, enables dynamic app behavior and appearance changes without app updates. This involves adding the plugin, initializing the service, defining default parameter values in the console or code, fetching and retrieving remote parameters, and updating those parameters either through the console or by activating fetched values, allowing for A/B testing and feature control. |
||||||
|
|
||||||
Here are the basic steps to implement Firebase Remote Config in a Flutter app: |
|
||||||
|
|
||||||
- Add the firebase_remote_config plugin to your pubspec.yaml file. |
|
||||||
- Initialize the Firebase Remote Config service in your main.dart file. |
|
||||||
- Define the default values for your remote parameters in the Firebase Console or by calling setDefaults method. |
|
||||||
- Fetch the remote parameters from Firebase by calling fetch method. |
|
||||||
- Get the values for the parameters by calling get method and use them in your app. |
|
||||||
- Update the remote parameters in the Firebase Console or by calling activateFetched method. |
|
||||||
|
|
||||||
You can use Remote Config to control the appearance of your app, change the behavior of features, and even A/B test different experiences for your users. |
|
||||||
|
|
||||||
Learn more from the following: |
Learn more from the following: |
||||||
|
|
||||||
|
- [@official@Remote Config](https://firebase.google.com/docs/remote-config) |
||||||
- [@video@Firebase Remote Config](https://www.youtube.com/watch?v=34ExOdNEMXI) |
- [@video@Firebase Remote Config](https://www.youtube.com/watch?v=34ExOdNEMXI) |
||||||
|
Loading…
Reference in new issue