@pushpilotai/react-native 2.3.0 → 2.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/PushPilotReactNative.podspec +1 -1
- package/README.md +2 -1
- package/android/build.gradle +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
# To build against a local pushpilot-ios checkout instead, see README -> Local development.
|
|
20
20
|
spm_dependency(s,
|
|
21
21
|
url: "https://github.com/pushpilotai/pushpilot-ios.git",
|
|
22
|
-
requirement: { kind: "upToNextMajorVersion", minimumVersion: "2.
|
|
22
|
+
requirement: { kind: "upToNextMajorVersion", minimumVersion: "2.4.0" },
|
|
23
23
|
products: ["PushPilot"]
|
|
24
24
|
)
|
|
25
25
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
React Native wrapper for the PushPilot SDK. It registers your app's installation with PushPilot and passes in its push address: the Firebase Cloud Messaging (FCM) identifier on Android and the Apple (APNs) device token on iOS. You can then send pushes to individual users from the PushPilot dashboard. PushPilot pushes are shown and their taps recorded natively, with no JavaScript running.
|
|
4
4
|
|
|
5
|
-
- A thin layer over the native [Android SDK](https://github.com/pushpilotai/pushpilot-android) (`ai.pushpilot:sdk` 2.
|
|
5
|
+
- A thin layer over the native [Android SDK](https://github.com/pushpilotai/pushpilot-android) (`ai.pushpilot:sdk` 2.4.0) and [iOS SDK](https://github.com/pushpilotai/pushpilot-ios) (Swift package `PushPilot` 2.4.0). Every call goes straight to them; they do all syncing, retrying, storage, display and validation.
|
|
6
6
|
- No Firebase dependency. On Android your app keeps its own Firebase setup and passes the identifier in. iOS needs no Firebase at all: PushPilot sends to Apple directly.
|
|
7
7
|
- Never asks for notification permission. It reports whatever the user chose.
|
|
8
8
|
- Every call returns nothing and never throws into your app. Problems are logged.
|
|
@@ -311,6 +311,7 @@ Names are snake_case, at most 40 characters; property values are strings, number
|
|
|
311
311
|
- **2.1.1:** [live activities](#live-activities), with `init`'s `appGroup` and `handleLiveActivityURL`. Nothing changes for apps that do not use them.
|
|
312
312
|
- **2.2.0:** [in-app messages](#in-app-messages), with `showInApp`, `markView` and `unmarkView`. App-open messages show with no code; their links reach your existing `setLinkHandler`.
|
|
313
313
|
- **2.3.0:** [custom events](#custom-events), with `track`.
|
|
314
|
+
- **2.4.0:** large [live activity](#live-activities) designs fit under the 4 KB push limit (compact start format, read by the native SDKs). No API changes.
|
|
314
315
|
- Every other call is unchanged, including `init`'s `baseUrl`.
|
|
315
316
|
|
|
316
317
|
## API
|
package/android/build.gradle
CHANGED