-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
43 lines (32 loc) · 1.1 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import {NativeModules} from 'react-native';
const {RNReactNativeMkepler} = NativeModules;
export async function initSDK(params) {
return await RNReactNativeMkepler.initSDK(params);
}
export async function showLogin() {
return await RNReactNativeMkepler.showLogin();
}
export async function isLogin() {
return await RNReactNativeMkepler.isLogin();
}
export async function logout() {
return await RNReactNativeMkepler.logout();
}
export async function showItemById(params) {
return await RNReactNativeMkepler.showItemById(params);
}
export async function showItemByUrl(params) {
return await RNReactNativeMkepler.showItemByUrl(params);
}
export async function openOrderList(params) {
return await RNReactNativeMkepler.openOrderList(params);
}
export async function openNavigationPage(params) {
return await RNReactNativeMkepler.openNavigationPage(params);
}
export async function openSearchResult(params) {
return await RNReactNativeMkepler.openSearchResult(params);
}
export async function openShoppingCart(params) {
return await RNReactNativeMkepler.openShoppingCart(params);
}