@appboxo/expo-boxo-sdk 0.2.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Changelog
2
+ ## [0.3.0]
3
+ - add new menu style (style_2)
4
+ - add progressbar for share event
5
+
2
6
  ## [0.2.0]
3
7
  - add new menu style
4
8
 
package/README.md CHANGED
@@ -8,6 +8,17 @@ Expo wrapper over Appboxo SDK for IOS and Android.
8
8
  npm install @appboxo/expo-boxo-sdk
9
9
  ```
10
10
 
11
+ ## Configuration in app.json/app.config.js
12
+ ```json
13
+ {
14
+ "expo": {
15
+ "plugins": [
16
+ ["@appboxo/expo-boxo-sdk"]
17
+ ]
18
+ }
19
+ }
20
+ ```
21
+
11
22
  ## API
12
23
 
13
24
  * [`setConfig(...)`](#setconfig)
@@ -31,21 +31,6 @@ if (useManagedAndroidSdkVersions) {
31
31
  }
32
32
  }
33
33
 
34
- rootProject.allprojects {
35
- repositories {
36
- google()
37
- mavenCentral()
38
- maven { url "https://jitpack.io" }
39
- maven {
40
- url "https://maven.pkg.github.com/Appboxo/android-sdk-packages"
41
- credentials {
42
- username = "appboxoandroidsdk"
43
- password = "\u0037\u0039\u0064\u0031\u0065\u0064\u0061\u0036\u0030\u0034\u0063\u0061\u0031\u0066\u0030\u0032\u0066\u0031\u0037\u0066\u0032\u0061\u0039\u0033\u0064\u0035\u0039\u0039\u0061\u0035\u0035\u0062\u0066\u0065\u0031\u0064\u0066\u0064\u0038\u0038"
44
- }
45
- }
46
- }
47
- }
48
-
49
34
  android {
50
35
  namespace "io.boxo.expo"
51
36
  defaultConfig {
@@ -57,7 +42,7 @@ android {
57
42
  }
58
43
  }
59
44
  dependencies {
60
- implementation('com.appboxo:sdk:1.7.0') {
45
+ implementation('com.appboxo:sdk:1.8.2') {
61
46
  exclude group: 'com.google.android.gms', module: 'play-services-location'
62
47
  }
63
48
  }
package/app.plugin.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./plugins/withBoxoBuildGradle');
@@ -1,5 +1,5 @@
1
1
  {
2
- "platforms": ["ios", "tvos", "android", "web"],
2
+ "platforms": ["ios", "android"],
3
3
  "ios": {
4
4
  "modules": ["ExpoBoxoSdkModule"]
5
5
  },
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.static_framework = true
17
17
 
18
18
  s.dependency 'ExpoModulesCore'
19
- s.dependency 'AppBoxoSDK', '1.6.0'
19
+ s.dependency 'AppBoxoSDK', '1.7.2'
20
20
 
21
21
  # Swift/Objective-C compatibility
22
22
  s.pod_target_xcconfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appboxo/expo-boxo-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Expo wrapper over Appboxo SDK for IOS and Android.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -0,0 +1,23 @@
1
+ const { withProjectBuildGradle } = require('@expo/config-plugins');
2
+
3
+ const boxo_allprojects_block = `
4
+ allprojects {
5
+ repositories {
6
+ maven { url "https://jitpack.io" }
7
+ maven {
8
+ url "https://maven.pkg.github.com/Appboxo/android-sdk-packages"
9
+ credentials {
10
+ username = "appboxoandroidsdk"
11
+ password = "\u0037\u0039\u0064\u0031\u0065\u0064\u0061\u0036\u0030\u0034\u0063\u0061\u0031\u0066\u0030\u0032\u0066\u0031\u0037\u0066\u0032\u0061\u0039\u0033\u0064\u0035\u0039\u0039\u0061\u0035\u0035\u0062\u0066\u0065\u0031\u0064\u0066\u0064\u0038\u0038"
12
+ }
13
+ }
14
+ }
15
+ }
16
+ `;
17
+
18
+ module.exports = (config) => {
19
+ return withProjectBuildGradle(config, (config) => {
20
+ config.modResults.contents += boxo_allprojects_block;
21
+ return config;
22
+ });
23
+ };