@swyng/react-native-code-push 1.0.0 → 1.0.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.
- package/docs/api-android.md +1 -1
- package/docs/setup-android.md +2 -2
- package/package.json +1 -1
package/docs/api-android.md
CHANGED
|
@@ -15,7 +15,7 @@ Since `autolinking` uses `react-native.config.js` to link plugins, constructors
|
|
|
15
15
|
<string moduleConfig="true" name="CodePushServerUrl">https://yourcodepush.server.com</string>
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The Java API is made available by importing the `com.
|
|
18
|
+
The Java API is made available by importing the `com.swyngpush.codepush.react.CodePush` class into your `MainActivity.java` file, and consists of a single public class named `CodePush`.
|
|
19
19
|
|
|
20
20
|
### Java API Reference (Android)
|
|
21
21
|
|
package/docs/setup-android.md
CHANGED
|
@@ -26,7 +26,7 @@ In order to integrate CodePush into your Android project, please perform the fol
|
|
|
26
26
|
```kotlin
|
|
27
27
|
...
|
|
28
28
|
// 1. Import the plugin class.
|
|
29
|
-
import com.
|
|
29
|
+
import com.swyngpush.codepush.react.CodePush
|
|
30
30
|
|
|
31
31
|
class MainApplication : Application(), ReactApplication {
|
|
32
32
|
override val reactNativeHost: ReactNativeHost =
|
|
@@ -50,7 +50,7 @@ In order to integrate CodePush into your Android project, please perform the fol
|
|
|
50
50
|
```kotlin
|
|
51
51
|
...
|
|
52
52
|
// 1. Import the plugin class.
|
|
53
|
-
import com.
|
|
53
|
+
import com.swyngpush.codepush.react.CodePush
|
|
54
54
|
|
|
55
55
|
class MainApplication : Application(), ReactApplication {
|
|
56
56
|
|
package/package.json
CHANGED