appsonair-react-native-apppush 0.0.1-alpha → 0.0.2-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,14 +9,14 @@ 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.2-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
|
>
|
|
16
16
|
> - The public API may change without notice and may not stay source-compatible —
|
|
17
17
|
> expect to update your integration between releases.
|
|
18
18
|
> - Breaking changes are not limited to major versions while the package is pre-1.0.
|
|
19
|
-
> - The native SDKs underneath are pre-release too (`0.0.
|
|
19
|
+
> - The native SDKs underneath are pre-release too (`0.0.3-alpha`), and carry the
|
|
20
20
|
> same caveats.
|
|
21
21
|
> - Not yet proven at scale; some behaviour is still unverified in real-world use.
|
|
22
22
|
>
|
|
@@ -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.2-alpha
|
|
40
40
|
npx pod-install # iOS only
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -199,7 +199,7 @@ The pin goes away once the upstream podspec carries its own floor.
|
|
|
199
199
|
<details>
|
|
200
200
|
<summary><b>Pointing at a local iOS SDK checkout</b> — for SDK development, or if the pod hasn't propagated yet</summary>
|
|
201
201
|
|
|
202
|
-
This package depends on `AppsOnAir-AppPush` `0.0.
|
|
202
|
+
This package depends on `AppsOnAir-AppPush` `0.0.3-alpha` from the CocoaPods
|
|
203
203
|
trunk, so `npx pod-install` normally needs no help. To build against a local
|
|
204
204
|
checkout instead, declare it in your app's Podfile — a `:path` declaration wins
|
|
205
205
|
over this package's dependency line:
|
|
@@ -235,7 +235,7 @@ any FCM app. `POST_NOTIFICATIONS` (Android 13+) is requested for you by
|
|
|
235
235
|
<details>
|
|
236
236
|
<summary><b>Kotlin version</b> — why this package pins the stdlib, and what to do if your app still fails to compile</summary>
|
|
237
237
|
|
|
238
|
-
The published native SDK (`0.0.
|
|
238
|
+
The published native SDK (`0.0.3-alpha`) is compiled with **Kotlin 2.2.10** and
|
|
239
239
|
sets no `languageVersion` floor, so its classes carry metadata `2.2.0`. No React
|
|
240
240
|
Native release ships a Kotlin compiler that can read that — 0.76 pins 1.9.24,
|
|
241
241
|
0.77–0.78 pin 2.0.21, 0.79–0.81 pin 2.1.x — and raising your app's Kotlin to 2.2
|
|
@@ -267,8 +267,10 @@ This package pins the released SDK. To point at something else, set the coordina
|
|
|
267
267
|
from your app's `android/gradle.properties` — no need to patch this package:
|
|
268
268
|
|
|
269
269
|
```properties
|
|
270
|
-
# The default.
|
|
271
|
-
|
|
270
|
+
# The default. Pinned to the `v`-prefixed tag because JitPack's build of the
|
|
271
|
+
# un-prefixed `0.0.3-alpha` form failed on their end -- see the comment in this
|
|
272
|
+
# package's android/gradle.properties.
|
|
273
|
+
AppsonairReactNativeApppush_pushSdkCoordinate=com.github.apps-on-air:appsonair-android-push-notification:v0.0.3-alpha
|
|
272
274
|
```
|
|
273
275
|
</details>
|
|
274
276
|
|
|
@@ -501,7 +503,7 @@ Architecture is a build-time choice on both platforms — a Metro reload won't
|
|
|
501
503
|
switch it, and Android needs `./gradlew clean` between switches because Gradle
|
|
502
504
|
caches the generated Codegen sources.
|
|
503
505
|
|
|
504
|
-
The example resolves the **published** native SDKs (`0.0.
|
|
506
|
+
The example resolves the **published** native SDKs (`0.0.3-alpha`) the same way
|
|
505
507
|
your app does — JitPack on Android, CocoaPods on iOS. Building against sibling
|
|
506
508
|
checkouts of the SDKs instead is opt-in: `-PappsonairLocalSdk=true` on Android,
|
|
507
509
|
`APPSONAIR_LOCAL_SDK=1` on iOS. See `example/README.md`.
|
package/android/build.gradle
CHANGED
|
@@ -101,7 +101,7 @@ android {
|
|
|
101
101
|
|
|
102
102
|
// WORKAROUND -- remove once the native SDK is republished.
|
|
103
103
|
//
|
|
104
|
-
// appsonair-android-push-notification:0.0.
|
|
104
|
+
// appsonair-android-push-notification:0.0.3-alpha is compiled with Kotlin
|
|
105
105
|
// 2.2.10 and sets no languageVersion/apiVersion floor, so its classes carry
|
|
106
106
|
// metadata 2.2.0. React Native pins the Kotlin compiler per release -- 1.9.24
|
|
107
107
|
// on RN 0.76, 2.0.21 on 0.77-0.78, 2.1.x on 0.79-0.81 -- and none of those can
|
|
@@ -6,10 +6,4 @@ AppsonairReactNativeApppush_compileSdkVersion=35
|
|
|
6
6
|
# minSdk 24 is inherited, not chosen: the native Push SDK requires AppsOnAir Core,
|
|
7
7
|
# which is minSdk 24. Lowering this here will fail the manifest merge.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
# `v0.0.2-alpha`; JitPack publishes it under both `0.0.2-alpha` and `v0.0.2-alpha`
|
|
11
|
-
# and reports the un-prefixed form as `latest`, which is also what the SDK's own
|
|
12
|
-
# README documents -- so that is the one pinned here. Overridable from the host
|
|
13
|
-
# app's gradle.properties so a team can point at a local build or a private repo
|
|
14
|
-
# without patching this file.
|
|
15
|
-
AppsonairReactNativeApppush_pushSdkCoordinate=com.github.apps-on-air:appsonair-android-push-notification:0.0.2-alpha
|
|
9
|
+
AppsonairReactNativeApppush_pushSdkCoordinate=com.github.apps-on-air:appsonair-android-push-notification:v0.0.3-alpha
|
|
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
|
|
|
37
37
|
# pod 'AppsOnAir-AppPush', :path => '../../appsonair-ios-push-notification'
|
|
38
38
|
#
|
|
39
39
|
# See the README's iOS installation section.
|
|
40
|
-
s.dependency 'AppsOnAir-AppPush', '0.0.
|
|
40
|
+
s.dependency 'AppsOnAir-AppPush', '0.0.3-alpha'
|
|
41
41
|
|
|
42
42
|
# Compensates for a missing version floor upstream, and is not redundant with
|
|
43
43
|
# the line above: AppsOnAir-AppPush.podspec declares `core.dependency
|
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.2-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",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"types": "./lib/typescript/commonjs/src/index.d.ts",
|
|
17
17
|
"default": "./lib/commonjs/index.js"
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"src",
|