@pushpushgo/react-native-push 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +2 -27
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -2,16 +2,12 @@
2
2
 
3
3
  PushPushGo Push Notifications SDK for React Native. Supports Android (FCM / HMS) and iOS (APNS).
4
4
 
5
- ---
6
-
7
5
  ## Requirements
8
6
 
9
7
  - Node 22+
10
8
  - Android Studio
11
9
  - Xcode
12
10
 
13
- ---
14
-
15
11
  ## Expo Projects
16
12
 
17
13
  If you are using the Expo Managed workflow, you will need to eject your project to switch to the Expo Bare workflow.
@@ -22,8 +18,6 @@ Run the following command in your project root:
22
18
  npx expo prebuild
23
19
  ```
24
20
 
25
- ---
26
-
27
21
  ## Android Integration
28
22
 
29
23
  ### Preparation
@@ -38,8 +32,6 @@ npx expo prebuild
38
32
  - See FCM or HMS sections below for details.
39
33
  5. Collect your PushPushGo Project ID and API Key.
40
34
 
41
- ---
42
-
43
35
  ### Installation
44
36
 
45
37
  ```sh
@@ -48,8 +40,6 @@ npm install @pushpushgo/react-native-push
48
40
  yarn add @pushpushgo/react-native-push
49
41
  ```
50
42
 
51
- ---
52
-
53
43
  ### FCM (Firebase Cloud Messaging)
54
44
 
55
45
  #### Provider credentials
@@ -93,8 +83,6 @@ dependencies {
93
83
  }
94
84
  ```
95
85
 
96
- ---
97
-
98
86
  ### HMS (Huawei Push Kit)
99
87
 
100
88
  #### Provider credentials
@@ -153,8 +141,6 @@ dependencies {
153
141
  }
154
142
  ```
155
143
 
156
- ---
157
-
158
144
  ### Android Configuration
159
145
 
160
146
  #### AndroidManifest.xml
@@ -187,13 +173,6 @@ To ensure correct handling of notification taps:
187
173
  </activity>
188
174
  ```
189
175
 
190
- ### Additional info
191
-
192
- - https://docs.pushpushgo.company/mobile-push/google-android
193
- - https://docs.pushpushgo.company/mobile-push/huawei-android
194
-
195
- ---
196
-
197
176
  ## iOS Integration
198
177
 
199
178
  ### 1. Modify Podfile
@@ -353,11 +332,9 @@ Open iOS project in Xcode (`ios/*.xcworkspace`).
353
332
 
354
333
  Ensure that application and NSE targets have the same minimum iOS version requirement - `General` > `Minimum Deployments`.
355
334
 
356
- ### 8. Additional info
357
-
358
- - https://docs.pushpushgo.company/mobile-push/apple-ios
335
+ ## Additional Integration Info
359
336
 
360
- ---
337
+ - https://pushpushgo.productfruits.help/en/article/web-mobile-push-integration
361
338
 
362
339
  ## Usage
363
340
 
@@ -405,8 +382,6 @@ PushNotifications.sendBeacon(beacon)
405
382
  .catch((e) => `Cannot send beacon: ${e?.message}`);
406
383
  ```
407
384
 
408
- ---
409
-
410
385
  ## License
411
386
 
412
387
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushpushgo/react-native-push",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "PushPushGo Push Notifications SDK for React Native",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -55,7 +55,8 @@
55
55
  },
56
56
  "homepage": "https://github.com/ppgco/react-native-sdk#readme",
57
57
  "publishConfig": {
58
- "registry": "https://registry.npmjs.org/"
58
+ "registry": "https://registry.npmjs.org/",
59
+ "access": "public"
59
60
  },
60
61
  "devDependencies": {
61
62
  "@commitlint/config-conventional": "^19.8.1",
@@ -165,4 +166,4 @@
165
166
  "type": "turbo-module",
166
167
  "version": "0.54.3"
167
168
  }
168
- }
169
+ }