├── .github
└── FUNDING.yml
├── .gitignore
├── .metadata
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── salih
│ │ │ │ └── dev
│ │ │ │ └── flutter_fcm_tutorial
│ │ │ │ ├── Application.kt
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ ├── Runner-Bridging-Header.h
│ └── Runner.entitlements
├── lib
└── main.dart
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── tutorial_images
├── apn_dialog.png
├── app_information.png
├── app_screenshot.png
├── background_modes.png
├── capabilities_button.png
├── cloud_messaging_setting.png
├── download_key.png
├── file_system.png
├── firebase_edit_page.png
├── firebase_main_page.png
├── google_services_plist.png
├── information_table.png
├── ios_app_configuration.png
├── ios_app_information.png
├── key_registration.png
├── keys_add.png
├── left_pane_for_options.png
├── main_page_certificates.png
├── notification_page.png
├── play_services_json_download.png
├── push_notifications.png
├── selected_capabilities.png
└── xcode_main_page.png
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [salihgueler] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 |
33 | # Web related
34 | lib/generated_plugin_registrant.dart
35 |
36 | # Symbolication related
37 | app.*.symbols
38 |
39 | # Obfuscation related
40 | app.*.map.json
41 |
42 | # Exceptions to above rules.
43 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
44 |
45 | android/app/google-services.json
46 | ios/Runner/GoogleService-Info.plist
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 8af6b2f038c1172e61d418869363a28dffec3cb4
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter Firebase Cloud Messaging Tutorial
2 |
3 | Push notifications are one of the most important concepts that should
4 | be thought to each mobile developer. It helps users to get informed
5 | proactively regardless the app is on foreground or not.
6 |
7 | For this purpose there are several services that can send downstream
8 | messages to your application. The app will be listening to those
9 | downstream messages and handling in the background with the configuration
10 | settings that is provided.
11 |
12 | > With this tutorial, your Flutter app can receive and process push notifications as well as data messages on Android and iOS. Read Firebase's [About FCM Messages](https://firebase.google.com/docs/cloud-messaging/concept-options) to learn more about the differences between notification messages and data messages.
13 |
14 | #### Tutorial Sections
15 | - [Android Setup](#android-setup)
16 | - [iOS Setup](#iOS-setup)
17 | - [Dart code](#dart-code)
18 |
19 | ## Initial Setup
20 |
21 | **Android** and **iOS** integration has different setups. They will be handled
22 | here. General findings about both platforms will be shared at the very end. Click [here](#dart-code)
23 | to jump to that section.
24 |
25 | ### Android Setup
26 |
27 | #### Firebase Console Setup
28 |
29 | For setting up any Firebase project, you need to do some set of steps to be able to make
30 | Firebase work for your project.
31 |
32 | Once you create your Firebase project from the [Firebase](http://console.firebase.google.com/) console, you will a screen like
33 | below.
34 |
35 | 
36 |
37 | Click on the Android icon there and let the wizard take you to the following page.
38 |
39 | 
40 |
41 | At this page, you are expected to enter the package name of your application, app name and SHA-1 code.
42 |
43 | **_Please keep in mind that, even though some fields are optional, not adding them might cause some problems.
44 | Therefore, Please fill all the fields._**
45 |
46 | After filling all the necessary information, you can go to next step and download the `google-services.json`
47 | file.
48 |
49 | 
50 |
51 | When the file download is done, from this point onwards you will go back to your IDE.
52 |
53 | ### Firebase Project Setup
54 |
55 | First you will copy the `google-services.json` file to your project under `android/app` folder.
56 |
57 | > This is an important file and you should not push this to your version control system. Add
58 | > `android/app/google-services.json` to your project's .gitignore file.
59 |
60 | 
61 |
62 | Now you are going to add the additional configurations for Android project.
63 |
64 | Start by adding the classpath to the [project]/android/build.gradle file.
65 |
66 | ```
67 | dependencies {
68 | // Example existing classpath
69 | classpath 'com.android.tools.build:gradle:3.5.3'
70 | // Add the google services classpath
71 | classpath 'com.google.gms:google-services:4.3.2'
72 | }
73 | ```
74 |
75 | If you already have one of the classpaths above, please use the one that is more up-to date.
76 |
77 | Once you add the previous classpaths, Add the apply plugin to the [project]/android/app/build.gradle file.
78 |
79 | ```
80 | // ADD THIS AT THE BOTTOM
81 | apply plugin: 'com.google.gms.google-services'
82 | ```
83 |
84 | This will help you to use the play services on the application, if you do not use this, your application will
85 | not be registered.
86 |
87 | You would most likely want to be notified in your app when the user clicks on a notification in the system tray include the following
88 | intent-filter within the `` tag of your `android/app/src/main/AndroidManifest.xml` (to help you out, you can
89 | also put it under the already existing `intent-filter` as well.):
90 |
91 | ```
92 |
93 |
94 |
95 |
96 | ```
97 |
98 | > Background message handling is intended to be performed quickly. Do not perform long running tasks as they may not be
99 | > allowed to finish by the Android ecosystem. See [Background Execution Limits](https://developer.android.com/about/versions/oreo/background) for more.
100 |
101 | Once the Firebase setup is done, now it is time to set up the Firebase libraries to be used.
102 |
103 | ### Adding Firebase Cloud Messaging libraries
104 |
105 | By default, background messaging and receiving downstream messages are blocked in Android ecosystem. For enabling these,
106 | you need to use Firebase Cloud Messaging service. For using this service, first add the `com.google.firebase:firebase-messaging`
107 | dependency in your app-level `build.gradle` file that is located at `/android/app/build.gradle`.
108 |
109 | ```
110 | dependencies {
111 | // ...
112 |
113 | implementation 'com.google.firebase:firebase-messaging:<[latest_version](https://firebase.google.com/support/release-notes/android#latest_sdk_versions)>'
114 | // e.g. implementation 'com.google.firebase:firebase-messaging:20.2.4'
115 | }
116 | ```
117 |
118 | Now that you added the Firebase library to the project, as a next step, you need to register your application to listen and use
119 | the plugin for the Flutter side.
120 |
121 | For that let's create an Application class by extending [FlutterApplication](https://api.flutter.dev/javadoc/io/flutter/app/FlutterApplication.html).
122 | Create an Application file under `/android/app/src/main/java//` with the language of your choice for Android.
123 | For this project, you will see Kotlin example with file `Application.kt`.
124 |
125 | ```
126 | package com.domain.your_app_name;
127 |
128 | import io.flutter.app.FlutterApplication
129 | import io.flutter.plugin.common.PluginRegistry
130 | import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback
131 | import io.flutter.plugins.GeneratedPluginRegistrant
132 | import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService
133 |
134 | class Application : FlutterApplication(), PluginRegistrantCallback {
135 | override fun onCreate() {
136 | super.onCreate()
137 | FlutterFirebaseMessagingService.setPluginRegistrant(this)
138 | }
139 |
140 | override fun registerWith(registry: PluginRegistry) {
141 | GeneratedPluginRegistrant.registerWith(registry)
142 | }
143 | }
144 | ```
145 |
146 | With this step, you finalized the setup for Android, if you want to try this directly on Android you can skip to the [next step](#dart-code).
147 | If you would like to continue with iOS setup, let's continue.
148 |
149 | ### iOS Setup
150 |
151 | > Important note: To test push notifications on iOS an iOS device is required. Apple’s push notifications cannot be sent to simulators.
152 |
153 | #### Apple Push Notification service (APNs) configuration
154 |
155 | The Firebase Cloud Messaging APNs interface uses the Apple Push Notification service (APNs) to send messages up to 4KB in
156 | size to your iOS app, including when it is in the background.
157 |
158 | To enable sending Push Notifications through APNs, you need:
159 |
160 | - An Apple Push Notification Authentication Key for your Apple Developer account. Firebase Cloud Messaging uses this token to send Push Notifications to the application identified by the App ID.
161 |
162 | You can create that in the [Apple Developer Member Center](https://developer.apple.com/account/#/welcome).
163 |
164 |
165 | 1. In your developer account, go to **Certificates, Identifiers & Profiles**.
166 | 
167 |
168 | 2. Click on the **Keys** on the left pange
169 | 
170 |
171 | 3. Click the plus button to add a new key.
172 | 
173 |
174 | 4. Register the APN key from the form.
175 | 
176 |
177 | 5. Download the key.
178 | 
179 |
180 | #### Firebase Console Setup
181 |
182 | 
183 |
184 | Click on the iOS icon there and let the wizard take you to the following page.
185 |
186 | 
187 |
188 | Fill out all the information that you can provide. If you don't have a data for a field at the moment,
189 | you can come back and fill that out later on.
190 |
191 | 
192 |
193 | Click the `Download GoogleService-Info.plist` button for downloading the requested _plist_ file.
194 |
195 | You don't have to do the rest of the steps.
196 |
197 | #### Firebase Project Setup
198 |
199 | Once you download the file, now you can setup your iOS project. First copy the file to
200 | `ios/Runner` directory.
201 |
202 | > This is an important file and you should not push this to your version control system. Add
203 | > `ios/Runner/GoogleService-Info.plist` to your project's .gitignore file.
204 |
205 | After that, open the iOS project on XCode and do the following:
206 |
207 | 
208 |
209 | 1. In Xcode, select Runner in the Project Navigator.
210 | 
211 | 2. Add capabilities by clicking `+ Capability` button, turn on Push Notifications and Background Modes.
212 | 
213 | 
214 | 3. Enable `Background fetch` and `Remote notifications` under Background Modes.
215 | 
216 | 4. If you need to disable the method swizzling done by the FCM iOS SDK (e.g. so that you can use this plugin with other notification plugins)
217 | then add the following to your application's Info.plist file.
218 | ```
219 | FirebaseAppDelegateProxyEnabled
220 |
221 | ```
222 | After that, add the following lines to the
223 | ```
224 | override func application(
225 | _ application: UIApplication,
226 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
227 | )
228 | ```
229 | method in the `AppDelegate.swift` of your iOS project.
230 |
231 | ```
232 | if #available(iOS 10.0, *) {
233 | UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
234 | }
235 | ```
236 |
237 | Now that you prepared your project for the push notifications. Let's continue with uploading the APN certificate
238 | you previously downloaded.
239 |
240 | At the screen below, click on the small wheel to go to the project settings and do the following steps:
241 |
242 | 
243 |
244 | 1. Direct yourself to the **Cloud Messaging** in the Settings page.
245 | 
246 | 2. After that, scroll down to the **iOS app Configuration** section.
247 | 
248 | 3. Click on **Upload** button at the _APNs Authentication Key_ section.
249 | 4. Upload your APN certificate to the opened up dialog.
250 | 
251 |
252 | Now you are done with the configuration. I know it was too long but it was great as well. Let's write some Dart code
253 | to handle the notifications now!
254 |
255 | #### iOS Notification Permissions
256 |
257 | After the `FirebaseMessaging` object is created, use that object to ask for permission to send notifications. It will use the
258 | system dialog to ask permission to the user.
259 |
260 | Add the following code at any point in your application to ask for notification permission to the user:
261 |
262 | ```
263 | _firebaseMessaging.requestNotificationPermissions(
264 | const IosNotificationSettings(
265 | sound: true, badge: true, alert: true, provisional: true));
266 | _firebaseMessaging.onIosSettingsRegistered
267 | .listen((IosNotificationSettings settings) {
268 | print("Settings registered: $settings");
269 | });
270 | ```
271 |
272 | You will add it to `initState` in your _main.dart_ file in our example.
273 |
274 | ## Let's write some Dart code
275 |
276 | Messages are sent to your Flutter app via the `onMessage`, `onLaunch`, and `onResume` callbacks
277 | that you configured with the plugin during setup. Here is how different message types are delivered on the supported platforms:
278 |
279 | 
280 |
281 |
282 | For starting off, we will use a `StatefulWidget` for the main widget to handle notifications.
283 | StatefulWidgets has a special class called `State`. State has its own widget life cycle so we can subscribe and remove subscriptions.
284 |
285 | You will start by, creating a `FirebaseMessaging` object on the top level of State class:
286 | ```
287 | final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();
288 | ```
289 |
290 | For listening to background messages or how the notification should behave within the application, you will register the listening
291 | behavior with `FirebaseMessaging` object's `configure` method. First override the `initState` method of the State class. After that,
292 | add the code below in it.
293 |
294 | ```
295 | _firebaseMessaging.configure(
296 | onMessage: (Map message) async {
297 | print("onMessage: $message");
298 | },
299 | onBackgroundMessage: backgroundMessageHandler,
300 | onLaunch: (Map message) async {
301 | print("onLaunch: $message");
302 | },
303 | onResume: (Map message) async {
304 | print("onResume: $message");
305 | },
306 | );
307 |
308 | // Static or Top level function
309 | static Future backgroundMessageHandler(Map message) async {
310 | if (message.containsKey('data')) {
311 | // Handle data message
312 | final dynamic data = message['data'];
313 | print("onBackgroundMessage: $data");
314 | }
315 |
316 | if (message.containsKey('notification')) {
317 | // Handle notification message
318 | final dynamic notification = message['notification'];
319 | print("onBackgroundMessage: $notification");
320 | }
321 | // Or do other work.
322 | }
323 | ```
324 |
325 | Basically you added the configurations for all of the possible lifecycles and each has a print statement now.
326 | When you send a notification you will see that it is going to print out the information it retrieved.
327 |
328 | Go to Firebase console and direct yourself to **Cloud Messaging** on the left pane. Once you click on it, take yourself to
329 | message sending page as it is below.
330 |
331 | 
332 |
333 | You can see how it is going to look like on the window as well. Once you fill out the information for notification, it will ask you for
334 | a token. For getting the token, you can use the following code in your `initState` method.
335 |
336 | ```
337 | _firebaseMessaging.getToken().then((String token) {
338 | assert(token != null);
339 | setState(() {
340 | _homeScreenText = "Push Messaging token: $token";
341 | });
342 | print(_homeScreenText);
343 | });
344 | ```
345 |
346 | Once you have the token, you can copy and paste it from the console and put it to Firebase console. Once you add the token,
347 | you can send the notification. If the app is in the background, you will see it on your phone.
348 | 
349 |
350 | If you wonder about what will it show with your print statements, it will show something like below:
351 | ```
352 | I/flutter (10090): onMessage: {notification: {title: Test Title, body: Test Detail}, data: {}}
353 | ```
354 |
355 | That's it! Now you are ready for receiving notifications! Good job!
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "salih.dev.flutter_fcm_tutorial"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | }
47 |
48 | buildTypes {
49 | release {
50 | // TODO: Add your own signing config for the release build.
51 | // Signing with the debug keys for now, so `flutter run --release` works.
52 | signingConfig signingConfigs.debug
53 | }
54 | }
55 | }
56 |
57 | flutter {
58 | source '../..'
59 | }
60 |
61 | dependencies {
62 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
63 | implementation 'com.google.firebase:firebase-messaging:20.2.4'
64 | }
65 |
66 | apply plugin: 'com.google.gms.google-services'
67 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
12 |
19 |
23 |
27 |
32 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
48 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/salih/dev/flutter_fcm_tutorial/Application.kt:
--------------------------------------------------------------------------------
1 | package salih.dev.flutter_fcm_tutorial
2 |
3 | import io.flutter.app.FlutterApplication
4 | import io.flutter.plugin.common.PluginRegistry
5 | import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 | import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService
8 |
9 | class Application : FlutterApplication(), PluginRegistrantCallback {
10 | override fun onCreate() {
11 | super.onCreate()
12 | FlutterFirebaseMessagingService.setPluginRegistrant(this);
13 | }
14 |
15 | override fun registerWith(registry: PluginRegistry?) {
16 | io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.registerWith(registry?.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));
17 | }
18 | }
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/salih/dev/flutter_fcm_tutorial/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package salih.dev.flutter_fcm_tutorial
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.72'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.3'
10 | classpath 'com.google.gms:google-services:4.3.2'
11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | google()
18 | jcenter()
19 | }
20 | }
21 |
22 | rootProject.buildDir = '../build'
23 | subprojects {
24 | project.buildDir = "${rootProject.buildDir}/${project.name}"
25 | }
26 | subprojects {
27 | project.evaluationDependsOn(':app')
28 | }
29 |
30 | task clean(type: Delete) {
31 | delete rootProject.buildDir
32 | }
33 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | include ':app'
6 |
7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
8 | def properties = new Properties()
9 |
10 | assert localPropertiesFile.exists()
11 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
12 |
13 | def flutterSdkPath = properties.getProperty("flutter.sdk")
14 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
15 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
16 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXCopyFilesBuildPhase section */
19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
20 | isa = PBXCopyFilesBuildPhase;
21 | buildActionMask = 2147483647;
22 | dstPath = "";
23 | dstSubfolderSpec = 10;
24 | files = (
25 | );
26 | name = "Embed Frameworks";
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXCopyFilesBuildPhase section */
30 |
31 | /* Begin PBXFileReference section */
32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
35 | 3DB7482E24DDA4ED0096FD7C /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; };
36 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
37 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
38 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
39 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
40 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
41 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
42 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
43 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
44 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
45 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
46 | /* End PBXFileReference section */
47 |
48 | /* Begin PBXFrameworksBuildPhase section */
49 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | /* End PBXFrameworksBuildPhase section */
57 |
58 | /* Begin PBXGroup section */
59 | 9740EEB11CF90186004384FC /* Flutter */ = {
60 | isa = PBXGroup;
61 | children = (
62 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
63 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
64 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
65 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
66 | );
67 | name = Flutter;
68 | sourceTree = "";
69 | };
70 | 97C146E51CF9000F007C117D = {
71 | isa = PBXGroup;
72 | children = (
73 | 9740EEB11CF90186004384FC /* Flutter */,
74 | 97C146F01CF9000F007C117D /* Runner */,
75 | 97C146EF1CF9000F007C117D /* Products */,
76 | );
77 | sourceTree = "";
78 | };
79 | 97C146EF1CF9000F007C117D /* Products */ = {
80 | isa = PBXGroup;
81 | children = (
82 | 97C146EE1CF9000F007C117D /* Runner.app */,
83 | );
84 | name = Products;
85 | sourceTree = "";
86 | };
87 | 97C146F01CF9000F007C117D /* Runner */ = {
88 | isa = PBXGroup;
89 | children = (
90 | 3DB7482E24DDA4ED0096FD7C /* Runner.entitlements */,
91 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
92 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
93 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
94 | 97C147021CF9000F007C117D /* Info.plist */,
95 | 97C146F11CF9000F007C117D /* Supporting Files */,
96 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
97 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
98 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
99 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
100 | );
101 | path = Runner;
102 | sourceTree = "";
103 | };
104 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
105 | isa = PBXGroup;
106 | children = (
107 | );
108 | name = "Supporting Files";
109 | sourceTree = "";
110 | };
111 | /* End PBXGroup section */
112 |
113 | /* Begin PBXNativeTarget section */
114 | 97C146ED1CF9000F007C117D /* Runner */ = {
115 | isa = PBXNativeTarget;
116 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
117 | buildPhases = (
118 | 9740EEB61CF901F6004384FC /* Run Script */,
119 | 97C146EA1CF9000F007C117D /* Sources */,
120 | 97C146EB1CF9000F007C117D /* Frameworks */,
121 | 97C146EC1CF9000F007C117D /* Resources */,
122 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
123 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
124 | );
125 | buildRules = (
126 | );
127 | dependencies = (
128 | );
129 | name = Runner;
130 | productName = Runner;
131 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
132 | productType = "com.apple.product-type.application";
133 | };
134 | /* End PBXNativeTarget section */
135 |
136 | /* Begin PBXProject section */
137 | 97C146E61CF9000F007C117D /* Project object */ = {
138 | isa = PBXProject;
139 | attributes = {
140 | LastUpgradeCheck = 1020;
141 | ORGANIZATIONNAME = "";
142 | TargetAttributes = {
143 | 97C146ED1CF9000F007C117D = {
144 | CreatedOnToolsVersion = 7.3.1;
145 | LastSwiftMigration = 1100;
146 | };
147 | };
148 | };
149 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
150 | compatibilityVersion = "Xcode 9.3";
151 | developmentRegion = en;
152 | hasScannedForEncodings = 0;
153 | knownRegions = (
154 | en,
155 | Base,
156 | );
157 | mainGroup = 97C146E51CF9000F007C117D;
158 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
159 | projectDirPath = "";
160 | projectRoot = "";
161 | targets = (
162 | 97C146ED1CF9000F007C117D /* Runner */,
163 | );
164 | };
165 | /* End PBXProject section */
166 |
167 | /* Begin PBXResourcesBuildPhase section */
168 | 97C146EC1CF9000F007C117D /* Resources */ = {
169 | isa = PBXResourcesBuildPhase;
170 | buildActionMask = 2147483647;
171 | files = (
172 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
173 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
174 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
175 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
176 | );
177 | runOnlyForDeploymentPostprocessing = 0;
178 | };
179 | /* End PBXResourcesBuildPhase section */
180 |
181 | /* Begin PBXShellScriptBuildPhase section */
182 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
183 | isa = PBXShellScriptBuildPhase;
184 | buildActionMask = 2147483647;
185 | files = (
186 | );
187 | inputPaths = (
188 | );
189 | name = "Thin Binary";
190 | outputPaths = (
191 | );
192 | runOnlyForDeploymentPostprocessing = 0;
193 | shellPath = /bin/sh;
194 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
195 | };
196 | 9740EEB61CF901F6004384FC /* Run Script */ = {
197 | isa = PBXShellScriptBuildPhase;
198 | buildActionMask = 2147483647;
199 | files = (
200 | );
201 | inputPaths = (
202 | );
203 | name = "Run Script";
204 | outputPaths = (
205 | );
206 | runOnlyForDeploymentPostprocessing = 0;
207 | shellPath = /bin/sh;
208 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
209 | };
210 | /* End PBXShellScriptBuildPhase section */
211 |
212 | /* Begin PBXSourcesBuildPhase section */
213 | 97C146EA1CF9000F007C117D /* Sources */ = {
214 | isa = PBXSourcesBuildPhase;
215 | buildActionMask = 2147483647;
216 | files = (
217 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
218 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
219 | );
220 | runOnlyForDeploymentPostprocessing = 0;
221 | };
222 | /* End PBXSourcesBuildPhase section */
223 |
224 | /* Begin PBXVariantGroup section */
225 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
226 | isa = PBXVariantGroup;
227 | children = (
228 | 97C146FB1CF9000F007C117D /* Base */,
229 | );
230 | name = Main.storyboard;
231 | sourceTree = "";
232 | };
233 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
234 | isa = PBXVariantGroup;
235 | children = (
236 | 97C147001CF9000F007C117D /* Base */,
237 | );
238 | name = LaunchScreen.storyboard;
239 | sourceTree = "";
240 | };
241 | /* End PBXVariantGroup section */
242 |
243 | /* Begin XCBuildConfiguration section */
244 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
245 | isa = XCBuildConfiguration;
246 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
247 | buildSettings = {
248 | ALWAYS_SEARCH_USER_PATHS = NO;
249 | CLANG_ANALYZER_NONNULL = YES;
250 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
251 | CLANG_CXX_LIBRARY = "libc++";
252 | CLANG_ENABLE_MODULES = YES;
253 | CLANG_ENABLE_OBJC_ARC = YES;
254 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
255 | CLANG_WARN_BOOL_CONVERSION = YES;
256 | CLANG_WARN_COMMA = YES;
257 | CLANG_WARN_CONSTANT_CONVERSION = YES;
258 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
259 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
260 | CLANG_WARN_EMPTY_BODY = YES;
261 | CLANG_WARN_ENUM_CONVERSION = YES;
262 | CLANG_WARN_INFINITE_RECURSION = YES;
263 | CLANG_WARN_INT_CONVERSION = YES;
264 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
265 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
266 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
267 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
268 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
269 | CLANG_WARN_STRICT_PROTOTYPES = YES;
270 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
271 | CLANG_WARN_UNREACHABLE_CODE = YES;
272 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
273 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
274 | COPY_PHASE_STRIP = NO;
275 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
276 | ENABLE_NS_ASSERTIONS = NO;
277 | ENABLE_STRICT_OBJC_MSGSEND = YES;
278 | GCC_C_LANGUAGE_STANDARD = gnu99;
279 | GCC_NO_COMMON_BLOCKS = YES;
280 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
281 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
282 | GCC_WARN_UNDECLARED_SELECTOR = YES;
283 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
284 | GCC_WARN_UNUSED_FUNCTION = YES;
285 | GCC_WARN_UNUSED_VARIABLE = YES;
286 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
287 | MTL_ENABLE_DEBUG_INFO = NO;
288 | SDKROOT = iphoneos;
289 | SUPPORTED_PLATFORMS = iphoneos;
290 | TARGETED_DEVICE_FAMILY = "1,2";
291 | VALIDATE_PRODUCT = YES;
292 | };
293 | name = Profile;
294 | };
295 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
296 | isa = XCBuildConfiguration;
297 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
298 | buildSettings = {
299 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
300 | CLANG_ENABLE_MODULES = YES;
301 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
302 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
303 | ENABLE_BITCODE = NO;
304 | FRAMEWORK_SEARCH_PATHS = (
305 | "$(inherited)",
306 | "$(PROJECT_DIR)/Flutter",
307 | );
308 | INFOPLIST_FILE = Runner/Info.plist;
309 | LD_RUNPATH_SEARCH_PATHS = (
310 | "$(inherited)",
311 | "@executable_path/Frameworks",
312 | );
313 | LIBRARY_SEARCH_PATHS = (
314 | "$(inherited)",
315 | "$(PROJECT_DIR)/Flutter",
316 | );
317 | PRODUCT_BUNDLE_IDENTIFIER = salih.dev.flutterFcmTutorial;
318 | PRODUCT_NAME = "$(TARGET_NAME)";
319 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
320 | SWIFT_VERSION = 5.0;
321 | VERSIONING_SYSTEM = "apple-generic";
322 | };
323 | name = Profile;
324 | };
325 | 97C147031CF9000F007C117D /* Debug */ = {
326 | isa = XCBuildConfiguration;
327 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
328 | buildSettings = {
329 | ALWAYS_SEARCH_USER_PATHS = NO;
330 | CLANG_ANALYZER_NONNULL = YES;
331 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
332 | CLANG_CXX_LIBRARY = "libc++";
333 | CLANG_ENABLE_MODULES = YES;
334 | CLANG_ENABLE_OBJC_ARC = YES;
335 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
336 | CLANG_WARN_BOOL_CONVERSION = YES;
337 | CLANG_WARN_COMMA = YES;
338 | CLANG_WARN_CONSTANT_CONVERSION = YES;
339 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
340 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
341 | CLANG_WARN_EMPTY_BODY = YES;
342 | CLANG_WARN_ENUM_CONVERSION = YES;
343 | CLANG_WARN_INFINITE_RECURSION = YES;
344 | CLANG_WARN_INT_CONVERSION = YES;
345 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
346 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
347 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
348 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
349 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
350 | CLANG_WARN_STRICT_PROTOTYPES = YES;
351 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
352 | CLANG_WARN_UNREACHABLE_CODE = YES;
353 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
354 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
355 | COPY_PHASE_STRIP = NO;
356 | DEBUG_INFORMATION_FORMAT = dwarf;
357 | ENABLE_STRICT_OBJC_MSGSEND = YES;
358 | ENABLE_TESTABILITY = YES;
359 | GCC_C_LANGUAGE_STANDARD = gnu99;
360 | GCC_DYNAMIC_NO_PIC = NO;
361 | GCC_NO_COMMON_BLOCKS = YES;
362 | GCC_OPTIMIZATION_LEVEL = 0;
363 | GCC_PREPROCESSOR_DEFINITIONS = (
364 | "DEBUG=1",
365 | "$(inherited)",
366 | );
367 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
368 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
369 | GCC_WARN_UNDECLARED_SELECTOR = YES;
370 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
371 | GCC_WARN_UNUSED_FUNCTION = YES;
372 | GCC_WARN_UNUSED_VARIABLE = YES;
373 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
374 | MTL_ENABLE_DEBUG_INFO = YES;
375 | ONLY_ACTIVE_ARCH = YES;
376 | SDKROOT = iphoneos;
377 | TARGETED_DEVICE_FAMILY = "1,2";
378 | };
379 | name = Debug;
380 | };
381 | 97C147041CF9000F007C117D /* Release */ = {
382 | isa = XCBuildConfiguration;
383 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
384 | buildSettings = {
385 | ALWAYS_SEARCH_USER_PATHS = NO;
386 | CLANG_ANALYZER_NONNULL = YES;
387 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
388 | CLANG_CXX_LIBRARY = "libc++";
389 | CLANG_ENABLE_MODULES = YES;
390 | CLANG_ENABLE_OBJC_ARC = YES;
391 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
392 | CLANG_WARN_BOOL_CONVERSION = YES;
393 | CLANG_WARN_COMMA = YES;
394 | CLANG_WARN_CONSTANT_CONVERSION = YES;
395 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
396 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
397 | CLANG_WARN_EMPTY_BODY = YES;
398 | CLANG_WARN_ENUM_CONVERSION = YES;
399 | CLANG_WARN_INFINITE_RECURSION = YES;
400 | CLANG_WARN_INT_CONVERSION = YES;
401 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
402 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
403 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
404 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
405 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
406 | CLANG_WARN_STRICT_PROTOTYPES = YES;
407 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
408 | CLANG_WARN_UNREACHABLE_CODE = YES;
409 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
410 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
411 | COPY_PHASE_STRIP = NO;
412 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
413 | ENABLE_NS_ASSERTIONS = NO;
414 | ENABLE_STRICT_OBJC_MSGSEND = YES;
415 | GCC_C_LANGUAGE_STANDARD = gnu99;
416 | GCC_NO_COMMON_BLOCKS = YES;
417 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
418 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
419 | GCC_WARN_UNDECLARED_SELECTOR = YES;
420 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
421 | GCC_WARN_UNUSED_FUNCTION = YES;
422 | GCC_WARN_UNUSED_VARIABLE = YES;
423 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
424 | MTL_ENABLE_DEBUG_INFO = NO;
425 | SDKROOT = iphoneos;
426 | SUPPORTED_PLATFORMS = iphoneos;
427 | SWIFT_COMPILATION_MODE = wholemodule;
428 | SWIFT_OPTIMIZATION_LEVEL = "-O";
429 | TARGETED_DEVICE_FAMILY = "1,2";
430 | VALIDATE_PRODUCT = YES;
431 | };
432 | name = Release;
433 | };
434 | 97C147061CF9000F007C117D /* Debug */ = {
435 | isa = XCBuildConfiguration;
436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
437 | buildSettings = {
438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
439 | CLANG_ENABLE_MODULES = YES;
440 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
441 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
442 | ENABLE_BITCODE = NO;
443 | FRAMEWORK_SEARCH_PATHS = (
444 | "$(inherited)",
445 | "$(PROJECT_DIR)/Flutter",
446 | );
447 | INFOPLIST_FILE = Runner/Info.plist;
448 | LD_RUNPATH_SEARCH_PATHS = (
449 | "$(inherited)",
450 | "@executable_path/Frameworks",
451 | );
452 | LIBRARY_SEARCH_PATHS = (
453 | "$(inherited)",
454 | "$(PROJECT_DIR)/Flutter",
455 | );
456 | PRODUCT_BUNDLE_IDENTIFIER = salih.dev.flutterFcmTutorial;
457 | PRODUCT_NAME = "$(TARGET_NAME)";
458 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
459 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
460 | SWIFT_VERSION = 5.0;
461 | VERSIONING_SYSTEM = "apple-generic";
462 | };
463 | name = Debug;
464 | };
465 | 97C147071CF9000F007C117D /* Release */ = {
466 | isa = XCBuildConfiguration;
467 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
468 | buildSettings = {
469 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
470 | CLANG_ENABLE_MODULES = YES;
471 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
473 | ENABLE_BITCODE = NO;
474 | FRAMEWORK_SEARCH_PATHS = (
475 | "$(inherited)",
476 | "$(PROJECT_DIR)/Flutter",
477 | );
478 | INFOPLIST_FILE = Runner/Info.plist;
479 | LD_RUNPATH_SEARCH_PATHS = (
480 | "$(inherited)",
481 | "@executable_path/Frameworks",
482 | );
483 | LIBRARY_SEARCH_PATHS = (
484 | "$(inherited)",
485 | "$(PROJECT_DIR)/Flutter",
486 | );
487 | PRODUCT_BUNDLE_IDENTIFIER = salih.dev.flutterFcmTutorial;
488 | PRODUCT_NAME = "$(TARGET_NAME)";
489 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
490 | SWIFT_VERSION = 5.0;
491 | VERSIONING_SYSTEM = "apple-generic";
492 | };
493 | name = Release;
494 | };
495 | /* End XCBuildConfiguration section */
496 |
497 | /* Begin XCConfigurationList section */
498 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
499 | isa = XCConfigurationList;
500 | buildConfigurations = (
501 | 97C147031CF9000F007C117D /* Debug */,
502 | 97C147041CF9000F007C117D /* Release */,
503 | 249021D3217E4FDB00AE95B9 /* Profile */,
504 | );
505 | defaultConfigurationIsVisible = 0;
506 | defaultConfigurationName = Release;
507 | };
508 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
509 | isa = XCConfigurationList;
510 | buildConfigurations = (
511 | 97C147061CF9000F007C117D /* Debug */,
512 | 97C147071CF9000F007C117D /* Release */,
513 | 249021D4217E4FDB00AE95B9 /* Profile */,
514 | );
515 | defaultConfigurationIsVisible = 0;
516 | defaultConfigurationName = Release;
517 | };
518 | /* End XCConfigurationList section */
519 | };
520 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
521 | }
522 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | if #available(iOS 10.0, *) {
12 | UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
13 | }
14 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_fcm_tutorial
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UIBackgroundModes
26 |
27 | fetch
28 | remote-notification
29 |
30 | UILaunchStoryboardName
31 | LaunchScreen
32 | UIMainStoryboardFile
33 | Main
34 | UISupportedInterfaceOrientations
35 |
36 | UIInterfaceOrientationPortrait
37 | UIInterfaceOrientationLandscapeLeft
38 | UIInterfaceOrientationLandscapeRight
39 |
40 | UISupportedInterfaceOrientations~ipad
41 |
42 | UIInterfaceOrientationPortrait
43 | UIInterfaceOrientationPortraitUpsideDown
44 | UIInterfaceOrientationLandscapeLeft
45 | UIInterfaceOrientationLandscapeRight
46 |
47 | UIViewControllerBasedStatusBarAppearance
48 |
49 | FirebaseAppDelegateProxyEnabled
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | aps-environment
6 | development
7 |
8 |
9 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:firebase_messaging/firebase_messaging.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | class PushMessagingExample extends StatefulWidget {
5 | @override
6 | _PushMessagingExampleState createState() => _PushMessagingExampleState();
7 | }
8 |
9 | class _PushMessagingExampleState extends State {
10 | String _homeScreenText = "Waiting for token...";
11 |
12 | final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();
13 |
14 | static Future backgroundMessageHandler(Map message) async {
15 | if (message.containsKey('data')) {
16 | // Handle data message
17 | final dynamic data = message['data'];
18 | print("onBackgroundMessage: $data");
19 | }
20 |
21 | if (message.containsKey('notification')) {
22 | // Handle notification message
23 | final dynamic notification = message['notification'];
24 | print("onBackgroundMessage: $notification");
25 | }
26 | // Or do other work.
27 | }
28 |
29 | @override
30 | void initState() {
31 | super.initState();
32 | _firebaseMessaging.configure(
33 | onMessage: (Map message) async {
34 | print("onMessage: $message");
35 | },
36 | onBackgroundMessage: backgroundMessageHandler,
37 | onLaunch: (Map message) async {
38 | print("onLaunch: $message");
39 | },
40 | onResume: (Map message) async {
41 | print("onResume: $message");
42 | },
43 | );
44 | _firebaseMessaging.requestNotificationPermissions(
45 | const IosNotificationSettings(
46 | sound: true, badge: true, alert: true, provisional: true));
47 | _firebaseMessaging.onIosSettingsRegistered
48 | .listen((IosNotificationSettings settings) {
49 | print("Settings registered: $settings");
50 | });
51 | _firebaseMessaging.getToken().then((String token) {
52 | assert(token != null);
53 | setState(() {
54 | _homeScreenText = "Push Messaging token: $token";
55 | });
56 | print(_homeScreenText);
57 | });
58 | }
59 |
60 | @override
61 | Widget build(BuildContext context) {
62 | return Scaffold(
63 | appBar: AppBar(
64 | title: const Text('Push Messaging Demo'),
65 | ),
66 | // For testing -- simulate a message being received
67 | body: Material(
68 | child: Column(
69 | children: [
70 | Center(
71 | child: Text(_homeScreenText),
72 | ),
73 | ],
74 | ),
75 | ));
76 | }
77 | }
78 |
79 | void main() {
80 | runApp(
81 | MaterialApp(
82 | home: PushMessagingExample(),
83 | ),
84 | );
85 | }
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | async:
5 | dependency: transitive
6 | description:
7 | name: async
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.4.2"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.0.0"
18 | characters:
19 | dependency: transitive
20 | description:
21 | name: characters
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.0.0"
25 | charcode:
26 | dependency: transitive
27 | description:
28 | name: charcode
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.1.3"
32 | clock:
33 | dependency: transitive
34 | description:
35 | name: clock
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.0.1"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.14.13"
46 | cupertino_icons:
47 | dependency: "direct main"
48 | description:
49 | name: cupertino_icons
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.1.3"
53 | fake_async:
54 | dependency: transitive
55 | description:
56 | name: fake_async
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.1.0"
60 | firebase_messaging:
61 | dependency: "direct main"
62 | description:
63 | name: firebase_messaging
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "6.0.16"
67 | flutter:
68 | dependency: "direct main"
69 | description: flutter
70 | source: sdk
71 | version: "0.0.0"
72 | flutter_test:
73 | dependency: "direct dev"
74 | description: flutter
75 | source: sdk
76 | version: "0.0.0"
77 | matcher:
78 | dependency: transitive
79 | description:
80 | name: matcher
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "0.12.8"
84 | meta:
85 | dependency: transitive
86 | description:
87 | name: meta
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "1.1.8"
91 | path:
92 | dependency: transitive
93 | description:
94 | name: path
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "1.7.0"
98 | platform:
99 | dependency: transitive
100 | description:
101 | name: platform
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "2.2.1"
105 | sky_engine:
106 | dependency: transitive
107 | description: flutter
108 | source: sdk
109 | version: "0.0.99"
110 | source_span:
111 | dependency: transitive
112 | description:
113 | name: source_span
114 | url: "https://pub.dartlang.org"
115 | source: hosted
116 | version: "1.7.0"
117 | stack_trace:
118 | dependency: transitive
119 | description:
120 | name: stack_trace
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "1.9.5"
124 | stream_channel:
125 | dependency: transitive
126 | description:
127 | name: stream_channel
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "2.0.0"
131 | string_scanner:
132 | dependency: transitive
133 | description:
134 | name: string_scanner
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "1.0.5"
138 | term_glyph:
139 | dependency: transitive
140 | description:
141 | name: term_glyph
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "1.1.0"
145 | test_api:
146 | dependency: transitive
147 | description:
148 | name: test_api
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "0.2.17"
152 | typed_data:
153 | dependency: transitive
154 | description:
155 | name: typed_data
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "1.2.0"
159 | vector_math:
160 | dependency: transitive
161 | description:
162 | name: vector_math
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "2.0.8"
166 | sdks:
167 | dart: ">=2.9.0-14.0.dev <3.0.0"
168 | flutter: ">=1.10.0 <2.0.0"
169 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_fcm_tutorial
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.7.0 <3.0.0"
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 | firebase_messaging: ^6.0.16
27 |
28 |
29 | # The following adds the Cupertino Icons font to your application.
30 | # Use with the CupertinoIcons class for iOS style icons.
31 | cupertino_icons: ^0.1.3
32 |
33 | dev_dependencies:
34 | flutter_test:
35 | sdk: flutter
36 |
37 | # For information on the generic Dart part of this file, see the
38 | # following page: https://dart.dev/tools/pub/pubspec
39 |
40 | # The following section is specific to Flutter.
41 | flutter:
42 |
43 | # The following line ensures that the Material Icons font is
44 | # included with your application, so that you can use the icons in
45 | # the material Icons class.
46 | uses-material-design: true
47 |
48 | # To add assets to your application, add an assets section, like this:
49 | # assets:
50 | # - images/a_dot_burr.jpeg
51 | # - images/a_dot_ham.jpeg
52 |
53 | # An image asset can refer to one or more resolution-specific "variants", see
54 | # https://flutter.dev/assets-and-images/#resolution-aware.
55 |
56 | # For details regarding adding assets from package dependencies, see
57 | # https://flutter.dev/assets-and-images/#from-packages
58 |
59 | # To add custom fonts to your application, add a fonts section here,
60 | # in this "flutter" section. Each entry in this list should have a
61 | # "family" key with the font family name, and a "fonts" key with a
62 | # list giving the asset and other descriptors for the font. For
63 | # example:
64 | # fonts:
65 | # - family: Schyler
66 | # fonts:
67 | # - asset: fonts/Schyler-Regular.ttf
68 | # - asset: fonts/Schyler-Italic.ttf
69 | # style: italic
70 | # - family: Trajan Pro
71 | # fonts:
72 | # - asset: fonts/TrajanPro.ttf
73 | # - asset: fonts/TrajanPro_Bold.ttf
74 | # weight: 700
75 | #
76 | # For details regarding fonts from package dependencies,
77 | # see https://flutter.dev/custom-fonts/#from-packages
78 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | void main() {}
2 |
--------------------------------------------------------------------------------
/tutorial_images/apn_dialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/apn_dialog.png
--------------------------------------------------------------------------------
/tutorial_images/app_information.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/app_information.png
--------------------------------------------------------------------------------
/tutorial_images/app_screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/app_screenshot.png
--------------------------------------------------------------------------------
/tutorial_images/background_modes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/background_modes.png
--------------------------------------------------------------------------------
/tutorial_images/capabilities_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/capabilities_button.png
--------------------------------------------------------------------------------
/tutorial_images/cloud_messaging_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/cloud_messaging_setting.png
--------------------------------------------------------------------------------
/tutorial_images/download_key.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/download_key.png
--------------------------------------------------------------------------------
/tutorial_images/file_system.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/file_system.png
--------------------------------------------------------------------------------
/tutorial_images/firebase_edit_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/firebase_edit_page.png
--------------------------------------------------------------------------------
/tutorial_images/firebase_main_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/firebase_main_page.png
--------------------------------------------------------------------------------
/tutorial_images/google_services_plist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/google_services_plist.png
--------------------------------------------------------------------------------
/tutorial_images/information_table.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/information_table.png
--------------------------------------------------------------------------------
/tutorial_images/ios_app_configuration.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/ios_app_configuration.png
--------------------------------------------------------------------------------
/tutorial_images/ios_app_information.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/ios_app_information.png
--------------------------------------------------------------------------------
/tutorial_images/key_registration.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/key_registration.png
--------------------------------------------------------------------------------
/tutorial_images/keys_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/keys_add.png
--------------------------------------------------------------------------------
/tutorial_images/left_pane_for_options.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/left_pane_for_options.png
--------------------------------------------------------------------------------
/tutorial_images/main_page_certificates.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/main_page_certificates.png
--------------------------------------------------------------------------------
/tutorial_images/notification_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/notification_page.png
--------------------------------------------------------------------------------
/tutorial_images/play_services_json_download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/play_services_json_download.png
--------------------------------------------------------------------------------
/tutorial_images/push_notifications.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/push_notifications.png
--------------------------------------------------------------------------------
/tutorial_images/selected_capabilities.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/selected_capabilities.png
--------------------------------------------------------------------------------
/tutorial_images/xcode_main_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter_fcm_tutorial/1e29b6c5802cb682b9e46ec9fe8464754bb9a859/tutorial_images/xcode_main_page.png
--------------------------------------------------------------------------------