smartmessage-react-native 2.11.4 → 2.11.5
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/package.json +2 -1
- package/src/index.d.ts +2 -0
- package/src/types.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smartmessage-react-native",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "SmartMessage SMP React Native SDK",
|
|
5
5
|
"main": "src/index.js",
|
|
6
|
+
"types": "src/index.d.ts",
|
|
6
7
|
"author": "SmartMessage",
|
|
7
8
|
"email": "engineering.accounts@smartmessage.com",
|
|
8
9
|
"repository": {
|
package/src/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ declare class SmartMessage {
|
|
|
35
35
|
|
|
36
36
|
static requestLocationPermission(): void;
|
|
37
37
|
static async requestLocationPermissionWithPromise(): Promise<boolean>;
|
|
38
|
+
static checkNotificationPermission(): Promise<boolean | undefined>;
|
|
39
|
+
static checkLocationPermission(): Promise<boolean>;
|
|
38
40
|
static startLocationTracking(): void;
|
|
39
41
|
static stopLocationTracking(): void;
|
|
40
42
|
|
package/src/types.d.ts
CHANGED
|
@@ -443,6 +443,8 @@ declare module 'smartmessage-react-native' {
|
|
|
443
443
|
static permissionUpdateWithPromise(permissionType: string, isGranted: boolean): Promise<any>;
|
|
444
444
|
static requestLocationPermission(): void;
|
|
445
445
|
static requestLocationPermissionWithPromise(): Promise<any>;
|
|
446
|
+
static checkNotificationPermission(): Promise<boolean | undefined>;
|
|
447
|
+
static checkLocationPermission(): Promise<boolean>;
|
|
446
448
|
|
|
447
449
|
// Location tracking
|
|
448
450
|
static startLocationTracking(): void;
|