react-native-mesmart 1.2.0 → 1.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.
@@ -10,7 +10,7 @@ import java.util.Locale
10
10
 
11
11
  object Utils {
12
12
  fun isSunmiP2(): Boolean {
13
- return Build.MODEL.equals("P2-B", true)
13
+ return Build.MODEL.equals("P2-B", true) || Build.MODEL.equals("P2-A11", true)
14
14
  }
15
15
 
16
16
  fun isA910(): Boolean {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mesmart",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Sunmi P2 utilities and Plugpag wrapper for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",