diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
index 3ec2507..e2270ea 100644
--- a/android/app/src/debug/AndroidManifest.xml
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -3,5 +3,7 @@
-
+
+
+
diff --git a/app.json b/app.json
index 16a4b4a..6393487 100644
--- a/app.json
+++ b/app.json
@@ -13,6 +13,12 @@
"backgroundColor": "#ffffff"
},
"ios": {
+ "entitlements": {
+ "aps-environment": "production"
+ },
+ "infoPlist": {
+ "UIBackgroundModes": ["remote-notification"]
+ },
"supportsTablet": true,
"bundleIdentifier": "com.mattdimegs.tones",
"googleServicesFile": "./GoogleServices/GoogleService-Info.plist"
diff --git a/package-lock.json b/package-lock.json
index 233801a..357588b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,6 +13,7 @@
"@expo/vector-icons": "^14.0.2",
"@react-native-async-storage/async-storage": "^1.24.0",
"@react-native-firebase/app": "^23.1.1",
+ "@react-native-firebase/messaging": "^23.1.1",
"@react-native-picker/picker": "^2.11.1",
"@react-navigation/native": "^7.1.17",
"expo": "^53.0.20",
@@ -3136,6 +3137,21 @@
}
}
},
+ "node_modules/@react-native-firebase/messaging": {
+ "version": "23.1.1",
+ "resolved": "https://registry.npmjs.org/@react-native-firebase/messaging/-/messaging-23.1.1.tgz",
+ "integrity": "sha512-P6jH3jGGXIDn+EuCognMWkegqR/cDmEAMXHLV+XgodCSMoMODBfswJWmKYoX/7xkjBsptOXUKI6uwo3S+H5z1Q==",
+ "license": "Apache-2.0",
+ "peerDependencies": {
+ "@react-native-firebase/app": "23.1.1",
+ "expo": ">=47.0.0"
+ },
+ "peerDependenciesMeta": {
+ "expo": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@react-native-picker/picker": {
"version": "2.11.1",
"resolved": "https://registry.npmjs.org/@react-native-picker/picker/-/picker-2.11.1.tgz",
diff --git a/package.json b/package.json
index b1c8f6a..1da7de5 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,7 @@
"@expo/vector-icons": "^14.0.2",
"@react-native-async-storage/async-storage": "^1.24.0",
"@react-native-firebase/app": "^23.1.1",
+ "@react-native-firebase/messaging": "^23.1.1",
"@react-native-picker/picker": "^2.11.1",
"@react-navigation/native": "^7.1.17",
"expo": "^53.0.20",