react-native-salespanda 0.7.3 → 0.7.5
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.
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
package com.salespanda
|
|
2
2
|
|
|
3
|
-
import com.facebook.react.bridge
|
|
3
|
+
import com.facebook.react.bridge.ReactApplicationContext
|
|
4
|
+
import com.facebook.react.module.annotations.ReactModule
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
@ReactModule(name = SalespandaModule.NAME)
|
|
7
|
+
class SalespandaModule(reactContext: ReactApplicationContext) :
|
|
8
|
+
NativeSalespandaSpec(reactContext) {
|
|
8
9
|
|
|
9
|
-
override fun getName(): String
|
|
10
|
+
override fun getName(): String {
|
|
11
|
+
return NAME
|
|
12
|
+
}
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
// Example method
|
|
15
|
+
// See https://reactnative.dev/docs/native-modules-android
|
|
16
|
+
override fun multiply(a: Double, b: Double): Double {
|
|
17
|
+
return a * b
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
companion object {
|
package/ios/Salespanda.h
CHANGED
|
@@ -11,4 +11,24 @@ export const diaryIcon = require('./bottomtabs/diary.png');
|
|
|
11
11
|
export const diaryIconActive = require('./bottomtabs/diaryactive.png');
|
|
12
12
|
export const notificationIcon = require('./bottomtabs/notification.png');
|
|
13
13
|
export const notificationIconActive = require('./bottomtabs/notificationactive.png');
|
|
14
|
+
//# sourceMappingURL=index.js.map: homeIcon,
|
|
15
|
+
active: homeIconActive
|
|
16
|
+
},
|
|
17
|
+
analytics: {
|
|
18
|
+
default: analyticsIcon,
|
|
19
|
+
active: analyticsIconActive
|
|
20
|
+
},
|
|
21
|
+
crm: {
|
|
22
|
+
default: crmIcon,
|
|
23
|
+
active: crmIconActive
|
|
24
|
+
},
|
|
25
|
+
diary: {
|
|
26
|
+
default: diaryIcon,
|
|
27
|
+
active: diaryIconActive
|
|
28
|
+
},
|
|
29
|
+
notification: {
|
|
30
|
+
default: notificationIcon,
|
|
31
|
+
active: notificationIconActive
|
|
32
|
+
}
|
|
33
|
+
};
|
|
14
34
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-salespanda",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "React Native SDK for multi-tenant enterprise applications with product flavors support",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -175,6 +175,14 @@
|
|
|
175
175
|
]
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
|
+
"codegenConfig": {
|
|
179
|
+
"name": "SalespandaSpec",
|
|
180
|
+
"type": "modules",
|
|
181
|
+
"jsSrcsDir": "lib/module",
|
|
182
|
+
"android": {
|
|
183
|
+
"javaPackageName": "com.salespanda"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
178
186
|
"create-react-native-library": {
|
|
179
187
|
"languages": "kotlin-objc",
|
|
180
188
|
"type": "turbo-module",
|