@react-native-kakao/navi 2.2.5 → 2.2.7
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.
|
@@ -5,6 +5,7 @@ import android.content.Intent
|
|
|
5
5
|
import android.net.Uri
|
|
6
6
|
import com.facebook.react.bridge.Promise
|
|
7
7
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
8
|
+
import com.facebook.react.bridge.ReactMethod
|
|
8
9
|
import com.facebook.react.bridge.ReadableArray
|
|
9
10
|
import com.facebook.react.bridge.ReadableMap
|
|
10
11
|
import com.kakao.sdk.navi.Constants
|
|
@@ -32,6 +33,7 @@ class RNCKakaoNaviModule internal constructor(
|
|
|
32
33
|
) : KakaoNaviSpec(context) {
|
|
33
34
|
override fun getName(): String = NAME
|
|
34
35
|
|
|
36
|
+
@ReactMethod
|
|
35
37
|
override fun navigateOrShareTo(
|
|
36
38
|
destination: ReadableMap,
|
|
37
39
|
option: ReadableMap?,
|
package/ios/RNCKakaoNavi.mm
CHANGED
|
@@ -12,14 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
RCT_EXPORT_MODULE()
|
|
14
14
|
|
|
15
|
-
RCT_EXPORT_METHOD(navigateOrShareTo
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
: (NSNumber*)isShare resolve
|
|
21
|
-
: (RCTPromiseResolveBlock)resolve reject
|
|
22
|
-
: (RCTPromiseRejectBlock)reject) {
|
|
15
|
+
RCT_EXPORT_METHOD(navigateOrShareTo : (NSDictionary*)destination option : (NSDictionary*)
|
|
16
|
+
option viaList : (NSArray*)viaList openWebInstallUrlIfNaviAppNotAvailable : (
|
|
17
|
+
NSNumber*)openWebInstallUrlIfNaviAppNotAvailable isShare : (NSNumber*)
|
|
18
|
+
isShare resolve : (RCTPromiseResolveBlock)
|
|
19
|
+
resolve reject : (RCTPromiseRejectBlock)reject) {
|
|
23
20
|
[[self manager] navigateOrShareTo:destination
|
|
24
21
|
option:option
|
|
25
22
|
viaList:viaList
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-kakao/navi",
|
|
3
3
|
"description": "React Native Kakao Navi SDK",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.7",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
7
|
"types": "lib/typescript/src/index.d.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@react-native-kakao/core": "2.2.
|
|
65
|
+
"@react-native-kakao/core": "2.2.7",
|
|
66
66
|
"@types/invariant": "^2",
|
|
67
67
|
"@types/jest": "^29.5.5",
|
|
68
68
|
"@types/react": "^18.2.44",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "5.1.6"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@react-native-kakao/core": "2.2.
|
|
77
|
+
"@react-native-kakao/core": "2.2.7",
|
|
78
78
|
"react": "*",
|
|
79
79
|
"react-native": "*"
|
|
80
80
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"javaPackageName": "net.mjstudio.rnkakao.navi"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "5a64db286916be9c5f33ce13695790afcb963483",
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@mj-studio/js-util": "1.1.3"
|
|
116
116
|
}
|