@react-native-firebase/messaging 15.3.0 → 15.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/ios/RNFBMessaging/RNFBMessagingModule.m +6 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +1 -0
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [15.4.0](https://github.com/invertase/react-native-firebase/compare/v15.3.0...v15.4.0) (2022-08-27)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **messaging, ios:** Support Ephemeral authorization state ([#6478](https://github.com/invertase/react-native-firebase/issues/6478)) ([795b684](https://github.com/invertase/react-native-firebase/commit/795b68472deb0089ac4ddf7270e361a2db1da351))
|
11
|
+
|
6
12
|
# [15.3.0](https://github.com/invertase/react-native-firebase/compare/v15.2.0...v15.3.0) (2022-08-07)
|
7
13
|
|
8
14
|
### Bug Fixes
|
@@ -321,6 +321,12 @@ RCT_EXPORT_METHOD(hasPermission : (RCTPromiseResolveBlock)resolve : (RCTPromiseR
|
|
321
321
|
}
|
322
322
|
}
|
323
323
|
|
324
|
+
if (@available(iOS 14.0, macCatalyst 14.0, *)) {
|
325
|
+
if (settings.authorizationStatus == UNAuthorizationStatusEphemeral) {
|
326
|
+
authorizedStatus = @3;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
324
330
|
resolve(authorizedStatus);
|
325
331
|
}];
|
326
332
|
} else {
|
package/lib/index.d.ts
CHANGED
@@ -501,6 +501,13 @@ export namespace FirebaseMessagingTypes {
|
|
501
501
|
* @platform ios iOS >= 12
|
502
502
|
*/
|
503
503
|
PROVISIONAL = 2,
|
504
|
+
|
505
|
+
/**
|
506
|
+
* The app is authorized to create notifications for a limited amount of time.
|
507
|
+
* Used in App Clips.
|
508
|
+
* @platform ios iOS >= 14
|
509
|
+
*/
|
510
|
+
EPHEMERAL = 3,
|
504
511
|
}
|
505
512
|
|
506
513
|
/**
|
package/lib/index.js
CHANGED
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '15.
|
2
|
+
module.exports = '15.4.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/messaging",
|
3
|
-
"version": "15.
|
3
|
+
"version": "15.4.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging module provides a simple JavaScript API to interact with FCM.",
|
6
6
|
"main": "lib/index.js",
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"messaging"
|
23
23
|
],
|
24
24
|
"peerDependencies": {
|
25
|
-
"@react-native-firebase/app": "15.
|
25
|
+
"@react-native-firebase/app": "15.4.0"
|
26
26
|
},
|
27
27
|
"publishConfig": {
|
28
28
|
"access": "public"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "a05f63d5cb208d9b6f645a0743584f58a942d6bc"
|
31
31
|
}
|