@react-native-karte/notification
Advanced tools
@@ -55,2 +55,7 @@ // | ||
| @ReactMethod | ||
| fun track() { | ||
| // NOP (iOS only) | ||
| } | ||
| @ReactMethod(isBlockingSynchronousMethod = true) | ||
@@ -57,0 +62,0 @@ fun retrieveURL(message: ReadableMap): String? { |
+11
-0
@@ -6,2 +6,13 @@ # Change Log | ||
| # [0.2.0](https://github.com/plaidev/karte-react-native/compare/@react-native-karte/notification@0.1.0...@react-native-karte/notification@0.2.0) (2020-09-10) | ||
| ### Features | ||
| * added a method to measure the opening of notifications manually ([74da266](https://github.com/plaidev/karte-react-native/commit/74da2660b63090daa44cc2cd4f4952e74345ff58)) | ||
| # 0.1.0 (2020-08-03) | ||
@@ -8,0 +19,0 @@ |
@@ -67,2 +67,7 @@ // | ||
| RCT_REMAP_METHOD(track, trackWithUserInfo:(NSDictionary *)userInfo) { | ||
| KRTRemoteNotification *notification = [[KRTRemoteNotification alloc] initWithUserInfo:userInfo]; | ||
| [notification track]; | ||
| } | ||
| RCT_REMAP_BLOCKING_SYNCHRONOUS_METHOD(retrieveURL, NSString *, retrieveURLWithUserInfo:(NSDictionary *)userInfo) { | ||
@@ -69,0 +74,0 @@ KRTRemoteNotification *notification = [[KRTRemoteNotification alloc] initWithUserInfo:userInfo]; |
@@ -63,2 +63,8 @@ "use strict"; | ||
| track() { | ||
| var _this$remoteMessage$d4; | ||
| this.nativeModule.track((_this$remoteMessage$d4 = this.remoteMessage.data) !== null && _this$remoteMessage$d4 !== void 0 ? _this$remoteMessage$d4 : {}); | ||
| } | ||
| } | ||
@@ -65,0 +71,0 @@ |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["index.tsx"],"names":["NotificationBridge","constructor","nativeModule","remoteMessage","registerFCMToken","fcmToken","create","canHandle","data","url","retrieveURL","show","handle","Notification","NativeModules","RNKRTNotificationModule"],"mappings":";;;;;;;AAgBA;;AAhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AID;;AAZyB,CAArB","sourcesContent":["//\n// Copyright 2020 PLAID, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n\nimport { NativeModules } from 'react-native';\nimport type { KRTNotificationNativeModule, RemoteMessage } from './types';\n\nclass NotificationBridge {\n private constructor(\n private readonly nativeModule: KRTNotificationNativeModule,\n private readonly remoteMessage: RemoteMessage\n ) {}\n\n public static registerFCMToken(\n nativeModule: KRTNotificationNativeModule,\n fcmToken?: string\n ): void {\n nativeModule.registerFCMToken(fcmToken);\n }\n\n public static create(\n nativeModule: KRTNotificationNativeModule,\n remoteMessage: RemoteMessage\n ): NotificationBridge | null {\n if (nativeModule.canHandle(remoteMessage.data ?? {})) {\n return new NotificationBridge(nativeModule, remoteMessage);\n } else {\n return null;\n }\n }\n\n public get url(): string | null {\n return this.nativeModule.retrieveURL(this.remoteMessage.data ?? {});\n }\n\n public show(): void {\n return this.nativeModule.show(this.remoteMessage.data ?? {});\n }\n\n public handle(): boolean {\n return this.nativeModule.handle(this.remoteMessage.data ?? {});\n }\n}\n\nexport const Notification = {\n registerFCMToken(fcmToken?: string): void {\n NotificationBridge.registerFCMToken(\n NativeModules.RNKRTNotificationModule,\n fcmToken\n );\n },\n create(remoteMessage: RemoteMessage): NotificationBridge | null {\n return NotificationBridge.create(\n NativeModules.RNKRTNotificationModule,\n remoteMessage\n );\n },\n};\n"]} | ||
| {"version":3,"sources":["index.tsx"],"names":["NotificationBridge","constructor","nativeModule","remoteMessage","registerFCMToken","fcmToken","create","canHandle","data","url","retrieveURL","show","handle","track","Notification","NativeModules","RNKRTNotificationModule"],"mappings":";;;;;;;AAgB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xCL,IAAAA,kBAAkB,CAACI,gBAAnB,CACEW,2BAAcC,uBADhB,EAEEX,QAFF;AAID,GANyB;;AAO1BC,EAAAA,MAAM,CAACH,aAAD,EAA0D;AAC9D,WAAOH,kBAAkB,CAACM,MAAnB,CACLS,2BAAcC,uBADT,EAELb,aAFK,CAAP;AAID;;AAZyB,CAArB","sourcesContent":["//\n// Copyright 2020 PLAID, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n\nimport { NativeModules } from 'react-native';\nimport type { KRTNotificationNativeModule, RemoteMessage } from './types';\n\nclass NotificationBridge {\n private constructor(\n private readonly nativeModule: KRTNotificationNativeModule,\n private readonly remoteMessage: RemoteMessage\n ) {}\n\n public static registerFCMToken(\n nativeModule: KRTNotificationNativeModule,\n fcmToken?: string\n ): void {\n nativeModule.registerFCMToken(fcmToken);\n }\n\n public static create(\n nativeModule: KRTNotificationNativeModule,\n remoteMessage: RemoteMessage\n ): NotificationBridge | null {\n if (nativeModule.canHandle(remoteMessage.data ?? {})) {\n return new NotificationBridge(nativeModule, remoteMessage);\n } else {\n return null;\n }\n }\n\n public get url(): string | null {\n return this.nativeModule.retrieveURL(this.remoteMessage.data ?? {});\n }\n\n public show(): void {\n return this.nativeModule.show(this.remoteMessage.data ?? {});\n }\n\n public handle(): boolean {\n return this.nativeModule.handle(this.remoteMessage.data ?? {});\n }\n\n public track(): void {\n this.nativeModule.track(this.remoteMessage.data ?? {});\n }\n}\n\nexport const Notification = {\n registerFCMToken(fcmToken?: string): void {\n NotificationBridge.registerFCMToken(\n NativeModules.RNKRTNotificationModule,\n fcmToken\n );\n },\n create(remoteMessage: RemoteMessage): NotificationBridge | null {\n return NotificationBridge.create(\n NativeModules.RNKRTNotificationModule,\n remoteMessage\n );\n },\n};\n"]} |
@@ -56,2 +56,8 @@ // | ||
| track() { | ||
| var _this$remoteMessage$d4; | ||
| this.nativeModule.track((_this$remoteMessage$d4 = this.remoteMessage.data) !== null && _this$remoteMessage$d4 !== void 0 ? _this$remoteMessage$d4 : {}); | ||
| } | ||
| } | ||
@@ -58,0 +64,0 @@ |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["index.tsx"],"names":["NativeModules","NotificationBridge","constructor","nativeModule","remoteMessage","registerFCMToken","fcmToken","create","canHandle","data","url","retrieveURL","show","handle","Notification","RNKRTNotificationModule"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,aAAT,QAA8B,cAA9B;;AAGA,MAAMC,kBAAN,CAAyB;AACfC,EAAAA,WAAR,CACmBC,YADnB,EAEmBC,aAFnB,EAGE;AAAA,SAFiBD,YAEjB,GAFiBA,YAEjB;AAAA,SADiBC,aACjB,GADiBA,aACjB;AAAE;;AAEJ,SAAcC,gBAAd,CACEF,YADF,EAEEG,QAFF,EAGQ;AACNH,IAAAA,YAAY,CAACE,gBAAb,CAA8BC,QAA9B;AACD;;AAED,SAAcC,MAAd,CACEJ,YADF,EAEEC,aAFF,EAG6B;AAAA;;AAC3B,QAAID,YAAY,CAACK,SAAb,wBAAuBJ,aAAa,CAACK,IAArC,qEAA6C,EAA7C,CAAJ,EAAsD;AACpD,aAAO,IAAIR,kBAAJ,CAAuBE,YAAvB,EAAqCC,aAArC,CAAP;AACD,KAFD,MAEO;AACL,aAAO,IAAP;AACD;AACF;;AAED,MAAWM,GAAX,GAAgC;AAAA;;AAC9B,WAAO,KAAKP,YAAL,CAAkBQ,WAAlB,0BAA8B,KAAKP,aAAL,CAAmBK,IAAjD,yEAAyD,EAAzD,CAAP;AACD;;AAEMG,EAAAA,IAAP,GAAoB;AAAA;;AAClB,WAAO,KAAKT,YAAL,CAAkBS,IAAlB,2BAAuB,KAAKR,aAAL,CAAmBK,IAA1C,2EAAkD,EAAlD,CAAP;AACD;;AAEMI,EAAAA,MAAP,GAAyB;AAAA;;AACvB,WAAO,KAAKV,YAAL,CAAkBU,MAAlB,2BAAyB,KAAKT,aAAL,CAAmBK,IAA5C,2EAAoD,EAApD,CAAP;AACD;;AAlCsB;;AAqCzB,OAAO,MAAMK,YAAY,GAAG;AAC1BT,EAAAA,gBAAgB,CAACC,QAAD,EAA0B;AACxCL,IAAAA,kBAAkB,CAACI,gBAAnB,CACEL,aAAa,CAACe,uBADhB,EAEET,QAFF;AAID,GANyB;;AAO1BC,EAAAA,MAAM,CAACH,aAAD,EAA0D;AAC9D,WAAOH,kBAAkB,CAACM,MAAnB,CACLP,aAAa,CAACe,uBADT,EAELX,aAFK,CAAP;AAID;;AAZyB,CAArB","sourcesContent":["//\n// Copyright 2020 PLAID, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n\nimport { NativeModules } from 'react-native';\nimport type { KRTNotificationNativeModule, RemoteMessage } from './types';\n\nclass NotificationBridge {\n private constructor(\n private readonly nativeModule: KRTNotificationNativeModule,\n private readonly remoteMessage: RemoteMessage\n ) {}\n\n public static registerFCMToken(\n nativeModule: KRTNotificationNativeModule,\n fcmToken?: string\n ): void {\n nativeModule.registerFCMToken(fcmToken);\n }\n\n public static create(\n nativeModule: KRTNotificationNativeModule,\n remoteMessage: RemoteMessage\n ): NotificationBridge | null {\n if (nativeModule.canHandle(remoteMessage.data ?? {})) {\n return new NotificationBridge(nativeModule, remoteMessage);\n } else {\n return null;\n }\n }\n\n public get url(): string | null {\n return this.nativeModule.retrieveURL(this.remoteMessage.data ?? {});\n }\n\n public show(): void {\n return this.nativeModule.show(this.remoteMessage.data ?? {});\n }\n\n public handle(): boolean {\n return this.nativeModule.handle(this.remoteMessage.data ?? {});\n }\n}\n\nexport const Notification = {\n registerFCMToken(fcmToken?: string): void {\n NotificationBridge.registerFCMToken(\n NativeModules.RNKRTNotificationModule,\n fcmToken\n );\n },\n create(remoteMessage: RemoteMessage): NotificationBridge | null {\n return NotificationBridge.create(\n NativeModules.RNKRTNotificationModule,\n remoteMessage\n );\n },\n};\n"]} | ||
| {"version":3,"sources":["index.tsx"],"names":["NativeModules","NotificationBridge","constructor","nativeModule","remoteMessage","registerFCMToken","fcmToken","create","canHandle","data","url","retrieveURL","show","handle","track","Notification","RNKRTNotificationModule"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,aAAT,QAA8B,cAA9B;;AAGA,MAAMC,kBAAN,CAAyB;AACfC,EAAAA,WAAR,CACmBC,YADnB,EAEmBC,aAFnB,EAGE;AAAA,SAFiBD,YAEjB,GAFiBA,YAEjB;AAAA,SADiBC,aACjB,GADiBA,aACjB;AAAE;;AAEJ,SAAcC,gBAAd,CACEF,YADF,EAEEG,QAFF,EAGQ;AACNH,IAAAA,YAAY,CAACE,gBAAb,CAA8BC,QAA9B;AACD;;AAED,SAAcC,MAAd,CACEJ,YADF,EAEEC,aAFF,EAG6B;AAAA;;AAC3B,QAAID,YAAY,CAACK,SAAb,wBAAuBJ,aAAa,CAACK,IAArC,qEAA6C,EAA7C,CAAJ,EAAsD;AACpD,aAAO,IAAIR,kBAAJ,CAAuBE,YAAvB,EAAqCC,aAArC,CAAP;AACD,KAFD,MAEO;AACL,aAAO,IAAP;AACD;AACF;;AAED,MAAWM,GAAX,GAAgC;AAAA;;AAC9B,WAAO,KAAKP,YAAL,CAAkBQ,WAAlB,0BAA8B,KAAKP,aAAL,CAAmBK,IAAjD,yEAAyD,EAAzD,CAAP;AACD;;AAEMG,EAAAA,IAAP,GAAoB;AAAA;;AAClB,WAAO,KAAKT,YAAL,CAAkBS,IAAlB,2BAAuB,KAAKR,aAAL,CAAmBK,IAA1C,2EAAkD,EAAlD,CAAP;AACD;;AAEMI,EAAAA,MAAP,GAAyB;AAAA;;AACvB,WAAO,KAAKV,YAAL,CAAkBU,MAAlB,2BAAyB,KAAKT,aAAL,CAAmBK,IAA5C,2EAAoD,EAApD,CAAP;AACD;;AAEMK,EAAAA,KAAP,GAAqB;AAAA;;AACnB,SAAKX,YAAL,CAAkBW,KAAlB,2BAAwB,KAAKV,aAAL,CAAmBK,IAA3C,2EAAmD,EAAnD;AACD;;AAtCsB;;AAyCzB,OAAO,MAAMM,YAAY,GAAG;AAC1BV,EAAAA,gBAAgB,CAACC,QAAD,EAA0B;AACxCL,IAAAA,kBAAkB,CAACI,gBAAnB,CACEL,aAAa,CAACgB,uBADhB,EAEEV,QAFF;AAID,GANyB;;AAO1BC,EAAAA,MAAM,CAACH,aAAD,EAA0D;AAC9D,WAAOH,kBAAkB,CAACM,MAAnB,CACLP,aAAa,CAACgB,uBADT,EAELZ,aAFK,CAAP;AAID;;AAZyB,CAArB","sourcesContent":["//\n// Copyright 2020 PLAID, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n\nimport { NativeModules } from 'react-native';\nimport type { KRTNotificationNativeModule, RemoteMessage } from './types';\n\nclass NotificationBridge {\n private constructor(\n private readonly nativeModule: KRTNotificationNativeModule,\n private readonly remoteMessage: RemoteMessage\n ) {}\n\n public static registerFCMToken(\n nativeModule: KRTNotificationNativeModule,\n fcmToken?: string\n ): void {\n nativeModule.registerFCMToken(fcmToken);\n }\n\n public static create(\n nativeModule: KRTNotificationNativeModule,\n remoteMessage: RemoteMessage\n ): NotificationBridge | null {\n if (nativeModule.canHandle(remoteMessage.data ?? {})) {\n return new NotificationBridge(nativeModule, remoteMessage);\n } else {\n return null;\n }\n }\n\n public get url(): string | null {\n return this.nativeModule.retrieveURL(this.remoteMessage.data ?? {});\n }\n\n public show(): void {\n return this.nativeModule.show(this.remoteMessage.data ?? {});\n }\n\n public handle(): boolean {\n return this.nativeModule.handle(this.remoteMessage.data ?? {});\n }\n\n public track(): void {\n this.nativeModule.track(this.remoteMessage.data ?? {});\n }\n}\n\nexport const Notification = {\n registerFCMToken(fcmToken?: string): void {\n NotificationBridge.registerFCMToken(\n NativeModules.RNKRTNotificationModule,\n fcmToken\n );\n },\n create(remoteMessage: RemoteMessage): NotificationBridge | null {\n return NotificationBridge.create(\n NativeModules.RNKRTNotificationModule,\n remoteMessage\n );\n },\n};\n"]} |
@@ -11,2 +11,3 @@ import type { KRTNotificationNativeModule, RemoteMessage } from './types'; | ||
| handle(): boolean; | ||
| track(): void; | ||
| } | ||
@@ -13,0 +14,0 @@ export declare const Notification: { |
@@ -6,2 +6,3 @@ export interface KRTNotificationNativeModule { | ||
| show(userInfo: object): void; | ||
| track(userInfo: object): void; | ||
| retrieveURL(userInfo: object): string | null; | ||
@@ -8,0 +9,0 @@ } |
+2
-2
| { | ||
| "name": "@react-native-karte/notification", | ||
| "version": "0.1.0", | ||
| "version": "0.2.0", | ||
| "description": "KARTE SDK Notification for React Native.", | ||
@@ -60,3 +60,3 @@ "main": "lib/commonjs/index", | ||
| }, | ||
| "gitHead": "3d6732daace691f80405d8228ae860fa79ea58c6" | ||
| "gitHead": "108352222e8abdb31d2d78b261432675fb9090ba" | ||
| } |
+4
-0
@@ -55,2 +55,6 @@ // | ||
| } | ||
| public track(): void { | ||
| this.nativeModule.track(this.remoteMessage.data ?? {}); | ||
| } | ||
| } | ||
@@ -57,0 +61,0 @@ |
+1
-0
@@ -22,2 +22,3 @@ // | ||
| show(userInfo: object): void; | ||
| track(userInfo: object): void; | ||
| retrieveURL(userInfo: object): string | null; | ||
@@ -24,0 +25,0 @@ } |
Sorry, the diff of this file is not supported yet
987865
0.16%259
5.71%