@apps-in-toss/web-bridge 0.0.39 → 1.0.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/built/bridge.d.ts +33 -0
- package/built/bridge.js +1 -0
- package/{build → built}/closeView.d.ts +1 -1
- package/{build → built}/contactsViral.d.ts +5 -4
- package/{build → built}/fetchContacts.d.ts +20 -22
- package/{build → built}/generateHapticFeedback.d.ts +2 -2
- package/{build → built}/getCurrentLocation.d.ts +5 -17
- package/{build → built}/getLocale.d.ts +1 -1
- package/{build → built}/getNetworkStatus.d.ts +1 -1
- package/{build → built}/getPlatformOS.d.ts +1 -1
- package/{build → built}/getSchemeUri.d.ts +1 -1
- package/built/index.cjs +680 -0
- package/built/index.d.cts +657 -0
- package/{build → built}/index.d.ts +8 -8
- package/{build → built}/index.js +4 -4
- package/built/onVisibilityChangedByTransparentServiceWeb.d.ts +21 -0
- package/{build → built}/openURL.d.ts +1 -1
- package/{build → built}/setIosSwipeGestureEnabled.d.ts +1 -1
- package/{build → built}/setScreenAwakeMode.d.ts +2 -2
- package/{build → built}/setSecureScreen.d.ts +1 -1
- package/{build → built}/share.d.ts +1 -1
- package/{build → built}/startUpdateLocation.d.ts +5 -11
- package/built/types.d.ts +110 -0
- package/package.json +21 -15
- package/build/bridge.d.ts +0 -31
- package/build/bridge.js +0 -1
- /package/{build → built}/appLogin.d.ts +0 -0
- /package/{build → built}/checkoutPayment.d.ts +0 -0
- /package/{build → built}/eventLog.d.ts +0 -0
- /package/{build → built}/fetchAlbumPhotos.d.ts +0 -0
- /package/{build → built}/getClipboardText.d.ts +0 -0
- /package/{build → built}/getDeviceId.d.ts +0 -0
- /package/{build → built}/getGameCenterGameProfile.d.ts +0 -0
- /package/{build → built}/getOperationalEnvironment.d.ts +0 -0
- /package/{build → built}/getTossAppVersion.d.ts +0 -0
- /package/{build → built}/getTossShareLink.d.ts +0 -0
- /package/{build → built}/openCamera.d.ts +0 -0
- /package/{build → built}/openGameCenterLeaderboard.d.ts +0 -0
- /package/{build → built}/saveBase64Data.d.ts +0 -0
- /package/{build → built}/setClipboardText.d.ts +0 -0
- /package/{build → built}/setDeviceOrientation.d.ts +0 -0
- /package/{build → built}/submitGameCenterLeaderBoardScore.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './bridge
|
|
1
|
+
export * from './bridge';
|
|
2
2
|
export * from '@apps-in-toss/bridge-core';
|
|
3
3
|
import { LoadAdMobInterstitialAdEvent, LoadAdMobInterstitialAdOptions, ShowAdMobInterstitialAdEvent, ShowAdMobInterstitialAdOptions, LoadAdMobRewardedAdEvent, LoadAdMobRewardedAdOptions, ShowAdMobRewardedAdEvent, ShowAdMobRewardedAdOptions } from '@apps-in-toss/framework';
|
|
4
4
|
|
|
@@ -453,18 +453,18 @@ declare const GoogleAdMob: {
|
|
|
453
453
|
};
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
-
type
|
|
456
|
+
type GraniteEvent = {
|
|
457
457
|
backEvent: {
|
|
458
458
|
onEvent: () => void;
|
|
459
459
|
onError?: (error: Error) => void;
|
|
460
460
|
options?: void;
|
|
461
461
|
};
|
|
462
462
|
};
|
|
463
|
-
declare const
|
|
464
|
-
addEventListener: <K extends keyof
|
|
465
|
-
onEvent:
|
|
466
|
-
onError?:
|
|
467
|
-
options?:
|
|
463
|
+
declare const graniteEvent: {
|
|
464
|
+
addEventListener: <K extends keyof GraniteEvent>(event: K, { onEvent, onError, options, }: {
|
|
465
|
+
onEvent: GraniteEvent[K]["onEvent"];
|
|
466
|
+
onError?: GraniteEvent[K]["onError"];
|
|
467
|
+
options?: GraniteEvent[K]["options"];
|
|
468
468
|
}) => () => void;
|
|
469
469
|
};
|
|
470
470
|
|
|
@@ -654,4 +654,4 @@ declare const partner: {
|
|
|
654
654
|
removeAccessoryButton: () => Promise<void>;
|
|
655
655
|
};
|
|
656
656
|
|
|
657
|
-
export { type AddAccessoryButtonOptions, type AppsInTossEvent, type AppsInTossGlobals, type
|
|
657
|
+
export { type AddAccessoryButtonOptions, type AppsInTossEvent, type AppsInTossGlobals, GoogleAdMob, type GraniteEvent, IAP, type IapCreateOneTimePurchaseOrderResult, type IapProductListItem, Storage, type TdsEvent, appsInTossEvent, env, getAppsInTossGlobals, getSafeAreaInsets, graniteEvent, isMinVersionSupported, partner, tdsEvent };
|
package/{build → built}/index.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './bridge.js'
|
|
1
|
+
export * from './bridge.js';
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
export * from "@apps-in-toss/bridge-core";
|
|
@@ -399,9 +399,9 @@ var GoogleAdMob = {
|
|
|
399
399
|
)
|
|
400
400
|
};
|
|
401
401
|
|
|
402
|
-
// src/
|
|
402
|
+
// src/graniteEvent.ts
|
|
403
403
|
import { createEventBridge as createEventBridge2 } from "@apps-in-toss/bridge-core";
|
|
404
|
-
var
|
|
404
|
+
var graniteEvent = {
|
|
405
405
|
addEventListener: (event, {
|
|
406
406
|
onEvent,
|
|
407
407
|
onError,
|
|
@@ -634,10 +634,10 @@ export {
|
|
|
634
634
|
IAP,
|
|
635
635
|
Storage,
|
|
636
636
|
appsInTossEvent,
|
|
637
|
-
bedrockEvent,
|
|
638
637
|
env,
|
|
639
638
|
getAppsInTossGlobals,
|
|
640
639
|
getSafeAreaInsets,
|
|
640
|
+
graniteEvent,
|
|
641
641
|
isMinVersionSupported,
|
|
642
642
|
partner,
|
|
643
643
|
tdsEvent
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export interface EventEmitterSchema<K extends string, P extends unknown[]> {
|
|
4
|
+
name: K;
|
|
5
|
+
params: P;
|
|
6
|
+
}
|
|
7
|
+
export interface OnVisibilityChangedByTransparentServiceWebSubscription extends EmitterSubscription {
|
|
8
|
+
remove: () => void;
|
|
9
|
+
}
|
|
10
|
+
export type OnVisibilityChangedByTransparentServiceWebEventEmitter = EventEmitterSchema<"visibilityChangedByTransparentServiceWeb", [
|
|
11
|
+
boolean
|
|
12
|
+
]>;
|
|
13
|
+
export declare function onVisibilityChangedByTransparentServiceWeb(eventParams: {
|
|
14
|
+
options: {
|
|
15
|
+
callbackId: string;
|
|
16
|
+
};
|
|
17
|
+
onEvent: (isVisible: boolean) => void;
|
|
18
|
+
onError: (error: unknown) => void;
|
|
19
|
+
}): () => void;
|
|
20
|
+
|
|
21
|
+
export {};
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* ```tsx
|
|
27
27
|
*
|
|
28
|
-
* import { setScreenAwakeMode } from '@apps-in-toss/
|
|
28
|
+
* import { setScreenAwakeMode } from '@apps-in-toss/native-modules';
|
|
29
29
|
*
|
|
30
30
|
* function SetScreenAwakeMode() {
|
|
31
31
|
* return (
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
*
|
|
45
45
|
* ```tsx
|
|
46
46
|
* import { useEffect } from 'react';
|
|
47
|
-
* import { setScreenAwakeMode, cleanUp } from '@apps-in-toss/
|
|
47
|
+
* import { setScreenAwakeMode, cleanUp } from '@apps-in-toss/native-modules';
|
|
48
48
|
*
|
|
49
49
|
* function MediaScreen() {
|
|
50
50
|
* useEffect(() => {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* ```tsx
|
|
17
17
|
*
|
|
18
|
-
* import { setSecureScreen } from '@apps-in-toss/
|
|
18
|
+
* import { setSecureScreen } from '@apps-in-toss/native-modules';
|
|
19
19
|
*
|
|
20
20
|
* function SetSecureScreen() {
|
|
21
21
|
* return <input type="button" value="캡쳐 막기" onClick={async () => {
|
|
@@ -30,13 +30,7 @@ declare enum Accuracy {
|
|
|
30
30
|
*/
|
|
31
31
|
BestForNavigation = 6
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
* @public
|
|
35
|
-
* @category 위치 정보
|
|
36
|
-
* @name Location
|
|
37
|
-
* @description 위치 정보를 나타내는 객체예요.
|
|
38
|
-
*/
|
|
39
|
-
export interface Location {
|
|
33
|
+
interface Location$1 {
|
|
40
34
|
/**
|
|
41
35
|
* Android에서만 지원하는 옵션이에요.
|
|
42
36
|
*
|
|
@@ -51,7 +45,7 @@ export interface Location {
|
|
|
51
45
|
*/
|
|
52
46
|
timestamp: number;
|
|
53
47
|
/**
|
|
54
|
-
* @description 위치 정보를 나타내는 객체예요. 자세한 내용은 [LocationCoords](/react-native/reference/
|
|
48
|
+
* @description 위치 정보를 나타내는 객체예요. 자세한 내용은 [LocationCoords](/react-native/reference/native-modules/Types/LocationCoords.html)을 참고해주세요.
|
|
55
49
|
*/
|
|
56
50
|
coords: LocationCoords;
|
|
57
51
|
}
|
|
@@ -111,7 +105,7 @@ export interface StartUpdateLocationSubscription extends EmitterSubscription {
|
|
|
111
105
|
* 디바이스의 위치 정보 변경을 감지해요
|
|
112
106
|
*/
|
|
113
107
|
export type UpdateLocationEventEmitter = EventEmitterSchema<"updateLocation", [
|
|
114
|
-
Location
|
|
108
|
+
Location$1
|
|
115
109
|
]>;
|
|
116
110
|
/**
|
|
117
111
|
* @public
|
|
@@ -125,7 +119,7 @@ export type UpdateLocationEventEmitter = EventEmitterSchema<"updateLocation", [
|
|
|
125
119
|
* @param {number} [options.accuracy] 위치 정확도를 설정해요.
|
|
126
120
|
* @param {number} [options.timeInterval] 위치 정보를 업데이트하는 최소 주기로, 단위는 밀리초(ms)예요. 이 값은 위치 업데이트가 발생하는 가장 짧은 간격을 설정하지만, 시스템이나 환경의 영향을 받아 지정한 주기보다 더 긴 간격으로 업데이트될 수 있어요.
|
|
127
121
|
* @param {number} [options.distanceInterval] 위치 변경 거리를 미터(m) 단위로 설정해요.
|
|
128
|
-
* @param {(location: Location) => void} [options.callback] 위치 정보가 변경될 때 호출되는 콜백 함수예요. 자세한 내용은 [Location](/react-native/reference/
|
|
122
|
+
* @param {(location: Location) => void} [options.callback] 위치 정보가 변경될 때 호출되는 콜백 함수예요. 자세한 내용은 [Location](/react-native/reference/native-modules/Types/Location.html)을 참고해주세요.
|
|
129
123
|
*
|
|
130
124
|
* @example
|
|
131
125
|
* ### 위치 정보 변경 감지하기
|
|
@@ -173,7 +167,7 @@ export type UpdateLocationEventEmitter = EventEmitterSchema<"updateLocation", [
|
|
|
173
167
|
* ```
|
|
174
168
|
*/
|
|
175
169
|
export declare function startUpdateLocation(eventParams: {
|
|
176
|
-
onEvent: (response: Location) => void;
|
|
170
|
+
onEvent: (response: Location$1) => void;
|
|
177
171
|
onError: (error: unknown) => void;
|
|
178
172
|
options: StartUpdateLocationOptions;
|
|
179
173
|
}): () => void;
|
package/built/types.d.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
type PermissionStatus$1 = "notDetermined" | "denied" | "allowed";
|
|
2
|
+
export type PermissionAccess = "read" | "write" | "access";
|
|
3
|
+
type PermissionName$1 = "clipboard" | "contacts" | "photos" | "geolocation" | "camera";
|
|
4
|
+
export type Primitive = string | number | boolean | null | undefined | symbol;
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* @category 위치 정보
|
|
8
|
+
* @name Accuracy
|
|
9
|
+
* @description 위치 정확도 옵션이에요.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum Accuracy {
|
|
12
|
+
/**
|
|
13
|
+
* 오차범위 3KM 이내
|
|
14
|
+
*/
|
|
15
|
+
Lowest = 1,
|
|
16
|
+
/**
|
|
17
|
+
* 오차범위 1KM 이내
|
|
18
|
+
*/
|
|
19
|
+
Low = 2,
|
|
20
|
+
/**
|
|
21
|
+
* 오차범위 몇 백미터 이내
|
|
22
|
+
*/
|
|
23
|
+
Balanced = 3,
|
|
24
|
+
/**
|
|
25
|
+
* 오차범위 10M 이내
|
|
26
|
+
*/
|
|
27
|
+
High = 4,
|
|
28
|
+
/**
|
|
29
|
+
* 가장 높은 정확도
|
|
30
|
+
*/
|
|
31
|
+
Highest = 5,
|
|
32
|
+
/**
|
|
33
|
+
* 네비게이션을 위한 최고 정확도
|
|
34
|
+
*/
|
|
35
|
+
BestForNavigation = 6
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @category 위치 정보
|
|
40
|
+
* @name Location
|
|
41
|
+
* @description 위치 정보를 나타내는 객체예요.
|
|
42
|
+
*/
|
|
43
|
+
interface Location$1 {
|
|
44
|
+
/**
|
|
45
|
+
* Android에서만 지원하는 옵션이에요.
|
|
46
|
+
*
|
|
47
|
+
* - `FINE`: 정확한 위치
|
|
48
|
+
* - `COARSE`: 대략적인 위치
|
|
49
|
+
*
|
|
50
|
+
* @see https://developer.android.com/codelabs/approximate-location
|
|
51
|
+
*/
|
|
52
|
+
accessLocation?: "FINE" | "COARSE";
|
|
53
|
+
/**
|
|
54
|
+
* 위치가 업데이트된 시점의 유닉스 타임스탬프예요.
|
|
55
|
+
*/
|
|
56
|
+
timestamp: number;
|
|
57
|
+
/**
|
|
58
|
+
* @description 위치 정보를 나타내는 객체예요. 자세한 내용은 [LocationCoords](/react-native/reference/native-modules/Types/LocationCoords.html)을 참고해주세요.
|
|
59
|
+
*/
|
|
60
|
+
coords: LocationCoords;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @category 위치 정보
|
|
65
|
+
* @name LocationCoords
|
|
66
|
+
* @description 세부 위치 정보를 나타내는 객체예요.
|
|
67
|
+
*/
|
|
68
|
+
export interface LocationCoords {
|
|
69
|
+
/**
|
|
70
|
+
* 위도
|
|
71
|
+
*/
|
|
72
|
+
latitude: number;
|
|
73
|
+
/**
|
|
74
|
+
* 경도
|
|
75
|
+
*/
|
|
76
|
+
longitude: number;
|
|
77
|
+
/**
|
|
78
|
+
* 높이
|
|
79
|
+
*/
|
|
80
|
+
altitude: number;
|
|
81
|
+
/**
|
|
82
|
+
* 위치 정확도
|
|
83
|
+
*/
|
|
84
|
+
accuracy: number;
|
|
85
|
+
/**
|
|
86
|
+
* 고도 정확도
|
|
87
|
+
*/
|
|
88
|
+
altitudeAccuracy: number;
|
|
89
|
+
/**
|
|
90
|
+
* 방향
|
|
91
|
+
*/
|
|
92
|
+
heading: number;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* 사진 조회 결과를 나타내는 타입이에요.
|
|
96
|
+
*/
|
|
97
|
+
export interface ImageResponse {
|
|
98
|
+
/** 가져온 사진의 고유 ID예요. */
|
|
99
|
+
id: string;
|
|
100
|
+
/** 사진의 데이터 URI예요. `base64` 옵션이 `true`인 경우 Base64 문자열로 반환돼요. */
|
|
101
|
+
dataUri: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export {
|
|
105
|
+
Location$1 as Location,
|
|
106
|
+
PermissionName$1 as PermissionName,
|
|
107
|
+
PermissionStatus$1 as PermissionStatus,
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,33 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/web-bridge",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"description": "Web Bridge for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepack": "yarn build",
|
|
8
8
|
"typecheck": "tsc --noEmit",
|
|
9
9
|
"lint": "eslint .",
|
|
10
|
-
"build": "
|
|
11
|
-
"sync-bridge": "bridgepack build"
|
|
10
|
+
"build": "tsup"
|
|
12
11
|
},
|
|
13
|
-
"main": "./
|
|
14
|
-
"module": "./
|
|
15
|
-
"types": "./
|
|
12
|
+
"main": "./built/index.cjs",
|
|
13
|
+
"module": "./built/index.js",
|
|
14
|
+
"types": "./built/index.d.ts",
|
|
16
15
|
"exports": {
|
|
17
16
|
".": {
|
|
18
|
-
"
|
|
19
|
-
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./built/index.d.ts",
|
|
19
|
+
"default": "./built/index.js"
|
|
20
|
+
},
|
|
21
|
+
"require": {
|
|
22
|
+
"types": "./built/index.d.cts",
|
|
23
|
+
"default": "./built/index.cjs"
|
|
24
|
+
}
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
27
|
"files": [
|
|
23
|
-
"
|
|
28
|
+
"built"
|
|
24
29
|
],
|
|
25
30
|
"devDependencies": {
|
|
26
|
-
"@apps-in-toss-
|
|
27
|
-
"@apps-in-toss/
|
|
28
|
-
"@
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
+
"@apps-in-toss/bridge-core": "1.0.0",
|
|
32
|
+
"@apps-in-toss/framework": "1.0.0",
|
|
33
|
+
"@swc/core": "^1.12.7",
|
|
34
|
+
"picocolors": "^1.1.1",
|
|
35
|
+
"ts-morph": "^26.0.0",
|
|
36
|
+
"tsup": "^8.5.0",
|
|
31
37
|
"typescript": "4.9.5",
|
|
32
38
|
"vitest": "^3.1.2"
|
|
33
39
|
},
|
|
@@ -37,5 +43,5 @@
|
|
|
37
43
|
"publishConfig": {
|
|
38
44
|
"access": "public"
|
|
39
45
|
},
|
|
40
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1cf9898b323a17c789ff9f5d75e8c6ab68fe4a95"
|
|
41
47
|
}
|
package/build/bridge.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export * from './closeView.js';
|
|
2
|
-
export * from './generateHapticFeedback.js';
|
|
3
|
-
export * from './share.js';
|
|
4
|
-
export * from './setSecureScreen.js';
|
|
5
|
-
export * from './setScreenAwakeMode.js';
|
|
6
|
-
export * from './getNetworkStatus.js';
|
|
7
|
-
export * from './setIosSwipeGestureEnabled.js';
|
|
8
|
-
export * from './openURL.js';
|
|
9
|
-
export * from './getLocale.js';
|
|
10
|
-
export * from './getSchemeUri.js';
|
|
11
|
-
export * from './getPlatformOS.js';
|
|
12
|
-
export * from './setClipboardText.js';
|
|
13
|
-
export * from './getClipboardText.js';
|
|
14
|
-
export * from './fetchContacts.js';
|
|
15
|
-
export * from './fetchAlbumPhotos.js';
|
|
16
|
-
export * from './getCurrentLocation.js';
|
|
17
|
-
export * from './openCamera.js';
|
|
18
|
-
export * from './appLogin.js';
|
|
19
|
-
export * from './checkoutPayment.js';
|
|
20
|
-
export * from './eventLog.js';
|
|
21
|
-
export * from './getTossShareLink.js';
|
|
22
|
-
export * from './setDeviceOrientation.js';
|
|
23
|
-
export * from './saveBase64Data.js';
|
|
24
|
-
export * from './getGameCenterGameProfile.js';
|
|
25
|
-
export * from './getOperationalEnvironment.js';
|
|
26
|
-
export * from './openGameCenterLeaderboard.js';
|
|
27
|
-
export * from './submitGameCenterLeaderBoardScore.js';
|
|
28
|
-
export * from './getTossAppVersion.js';
|
|
29
|
-
export * from './getDeviceId.js';
|
|
30
|
-
export * from './startUpdateLocation.js';
|
|
31
|
-
export * from './contactsViral.js';
|
package/build/bridge.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createAsyncBridge,createConstantBridge,createEventBridge}from"@apps-in-toss/bridge-core";var createEvents=function(){return{emit:function emit(event,args){for(var callbacks=this.events[event]||[],i=0,length=callbacks.length;i<length;i++){callbacks[i](args)}},events:{},on:function on(event,cb){var _this=this;var _this_events,_event;((_this_events=this.events)[_event=event]||(_this_events[_event]=[])).push(cb);return function(){var _this_events_event;_this.events[event]=(_this_events_event=_this.events[event])===null||_this_events_event===void 0?void 0:_this_events_event.filter(function(i){return cb!==i})}}}};if(typeof window!=="undefined"){window.__BEDROCK_NATIVE_EMITTER=createEvents()}export var closeView=createAsyncBridge("closeView");export var generateHapticFeedback=createAsyncBridge("generateHapticFeedback");export var share=createAsyncBridge("share");export var setSecureScreen=createAsyncBridge("setSecureScreen");export var setScreenAwakeMode=createAsyncBridge("setScreenAwakeMode");export var getNetworkStatus=createAsyncBridge("getNetworkStatus");export var setIosSwipeGestureEnabled=createAsyncBridge("setIosSwipeGestureEnabled");export var openURL=createAsyncBridge("openURL");export var getLocale=createConstantBridge("getLocale");export var getSchemeUri=createConstantBridge("getSchemeUri");export var getPlatformOS=createConstantBridge("getPlatformOS");export var setClipboardText=createAsyncBridge("setClipboardText");export var getClipboardText=createAsyncBridge("getClipboardText");export var fetchContacts=createAsyncBridge("fetchContacts");export var fetchAlbumPhotos=createAsyncBridge("fetchAlbumPhotos");export var Accuracy=function(Accuracy){Accuracy[Accuracy["Lowest"]=1]="Lowest";Accuracy[Accuracy["Low"]=2]="Low";Accuracy[Accuracy["Balanced"]=3]="Balanced";Accuracy[Accuracy["High"]=4]="High";Accuracy[Accuracy["Highest"]=5]="Highest";Accuracy[Accuracy["BestForNavigation"]=6]="BestForNavigation";return Accuracy}({});export var getCurrentLocation=createAsyncBridge("getCurrentLocation");export var openCamera=createAsyncBridge("openCamera");export var appLogin=createAsyncBridge("appLogin");export var checkoutPayment=createAsyncBridge("checkoutPayment");export var eventLog=createAsyncBridge("eventLog");export var getTossShareLink=createAsyncBridge("getTossShareLink");export var setDeviceOrientation=createAsyncBridge("setDeviceOrientation");export var saveBase64Data=createAsyncBridge("saveBase64Data");export var getGameCenterGameProfile=createAsyncBridge("getGameCenterGameProfile");export var getOperationalEnvironment=createConstantBridge("getOperationalEnvironment");export var openGameCenterLeaderboard=createAsyncBridge("openGameCenterLeaderboard");export var submitGameCenterLeaderBoardScore=createAsyncBridge("submitGameCenterLeaderBoardScore");export var getTossAppVersion=createConstantBridge("getTossAppVersion");export var getDeviceId=createConstantBridge("getDeviceId");export var startUpdateLocation=createEventBridge("startUpdateLocation");export var contactsViral=createEventBridge("contactsViral");
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|