appsonair-react-native-apppush 0.0.2-alpha → 0.0.3-alpha
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/README.md
CHANGED
|
@@ -9,7 +9,7 @@ API either way. Nothing in your app code changes.
|
|
|
9
9
|
> [!WARNING]
|
|
10
10
|
> **Alpha release — not for production use.**
|
|
11
11
|
>
|
|
12
|
-
> `0.0.
|
|
12
|
+
> `0.0.3-alpha` is an early preview, intended for evaluation, prototypes, and
|
|
13
13
|
> internal test builds. Do **not** ship it in a production app or one with a
|
|
14
14
|
> large user base.
|
|
15
15
|
>
|
|
@@ -36,7 +36,7 @@ API either way. Nothing in your app code changes.
|
|
|
36
36
|
> [the notice above](#appsonair-react-native-apppush) before adopting it.
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
|
-
npm install appsonair-react-native-apppush@0.0.
|
|
39
|
+
npm install appsonair-react-native-apppush@0.0.3-alpha
|
|
40
40
|
npx pod-install # iOS only
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -152,13 +152,13 @@ class AppsonairReactNativeApppushModuleImpl(
|
|
|
152
152
|
private fun registerActivityHooks() {
|
|
153
153
|
reactContext.addActivityEventListener(object : ActivityEventListener {
|
|
154
154
|
override fun onActivityResult(
|
|
155
|
-
activity: Activity
|
|
155
|
+
activity: Activity,
|
|
156
156
|
requestCode: Int,
|
|
157
157
|
resultCode: Int,
|
|
158
158
|
data: Intent?
|
|
159
159
|
) = Unit
|
|
160
160
|
|
|
161
|
-
override fun onNewIntent(intent: Intent
|
|
161
|
+
override fun onNewIntent(intent: Intent) {
|
|
162
162
|
AppPushService.handleNotificationTapIntent(intent)
|
|
163
163
|
}
|
|
164
164
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appsonair-react-native-apppush",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-alpha",
|
|
4
4
|
"description": "AppsOnAir push notifications for React Native — wraps the native AppsOnAir iOS and Android Push SDKs",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|