react-native-mesmart 0.7.1 → 0.7.3

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
@@ -48,10 +48,17 @@ android {
48
48
  }
49
49
  }
50
50
  }
51
+
52
+ dependencies {
53
+ ...
54
+ implementation fileTree(dir: 'libs', include: ['*.aar'])
55
+ }
51
56
  ```
52
57
 
53
58
  Create a new directory at android/app/src/main/jniLibs/armeabi-v7a and add the file 'libDeviceConfig.so' to this new folder
54
59
 
60
+ Create a new directory at android/app/libs/ and add the file 'paystore-api-v2.11.3.24.aar' to this new folder
61
+
55
62
  ## Permissions
56
63
 
57
64
  Add those permissions in your AndroidManifest.xml
@@ -75,6 +75,12 @@ android {
75
75
  sourceCompatibility JavaVersion.VERSION_11
76
76
  targetCompatibility JavaVersion.VERSION_11
77
77
  }
78
+
79
+ repositories {
80
+ flatDir {
81
+ dirs 'libs'
82
+ }
83
+ }
78
84
  }
79
85
 
80
86
  repositories {
@@ -88,10 +94,17 @@ repositories {
88
94
  def kotlin_version = getExtOrDefault("kotlinVersion")
89
95
 
90
96
  dependencies {
91
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
97
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
92
98
  implementation "com.facebook.react:react-android:0.75.0-rc.5"
93
99
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
94
100
  implementation "com.sunmi:PayLib-release:2.0.07"
95
101
  implementation "br.com.uol.pagseguro.plugpagservice.wrapper:wrapper:1.28.2"
96
102
  implementation "com.sunmi:printerlibrary:1.0.23"
103
+ implementation "com.google.code.gson:gson:2.10.1"
104
+ compileOnly(
105
+ name: "paystore-api-v2.11.3.24",
106
+ ext: "aar",
107
+ version: "v2.11.3.24",
108
+ group: "paystore"
109
+ )
97
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mesmart",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Sunmi P2 utilities and Plugpag wrapper for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",