Skip to content

Commit c70328c

Browse files
authored
Merge pull request #32 from mym0404/ios-static-framework
Support ios static framework build
2 parents 5ca9177 + cfe5dc3 commit c70328c

19 files changed

+260
-303
lines changed

example/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"@mj-studio/js-util": "^1.0.34",
2424
"@mj-studio/react-util": "^0.0.20",
2525
"@react-native-styled-system/core": "~1.2.1",
26-
"expo": "51.0.0-preview.10",
26+
"expo": "~51.0.8",
2727
"expo-constants": "16.0.1",
28-
"expo-dev-client": "4.0.6",
28+
"expo-dev-client": "~4.0.14",
2929
"expo-linking": "6.3.1",
30-
"expo-router": "3.5.4",
30+
"expo-router": "~3.5.14",
3131
"expo-status-bar": "1.12.1",
3232
"react": "18.2.0",
3333
"react-native": "0.74.1",
@@ -44,7 +44,7 @@
4444
"@react-native/metro-config": "0.74.83",
4545
"@react-native/typescript-config": "0.74.83",
4646
"babel-plugin-module-resolver": "^5.0.0",
47-
"expo-build-properties": "~0.12.0"
47+
"expo-build-properties": "~0.12.1"
4848
},
4949
"engines": {
5050
"node": ">=18"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"lint": "yarn t",
2626
"format": "yarn lefthook run format",
2727
"clean": "lerna run clean",
28-
"prepare": "husky",
2928
"build": "lerna run prepack && yarn web:unlink-declarations",
3029
"bump": "./script/version.sh",
3130
"bump:prerelease": "./script/version-prerelease.sh",
@@ -75,6 +74,7 @@
7574
"eslint": "8.57.0",
7675
"eslint-plugin-jest": "^28.2.0",
7776
"fs-extra": "^11.2.0",
77+
"husky": "^9.0.11",
7878
"jest": "^29.7.0",
7979
"lefthook": "^1.6.10",
8080
"prettier": "3.2.5",

packages/channel/ios/RNCKakaoChannel.mm

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNCKakaoChannel.h"
2+
#if __has_include("RNCKakaoChannel-Swift.h")
23
#import "RNCKakaoChannel-Swift.h"
4+
#else
5+
#import <RNCKakaoChannel/RNCKakaoChannel-Swift.h>
6+
#endif
37

48
@implementation RNCKakaoChannel
59

packages/channel/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,6 @@
112112
},
113113
"dependencies": {
114114
"@mj-studio/js-util": "^1.0.34"
115-
}
115+
},
116+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d"
116117
}

packages/core/ios/RNCKakaoCore.mm

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNCKakaoCore.h"
2+
#if __has_include("RNCKakaoCore-Swift.h")
23
#import "RNCKakaoCore-Swift.h"
4+
#else
5+
#import <RNCKakaoCore/RNCKakaoCore-Swift.h>
6+
#endif
37

48
@implementation RNCKakaoCore
59

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"map": "2.10.3"
140140
}
141141
},
142-
"gitHead": "57203ed1725b209e814da7cfbb71b36f52d24210",
142+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d",
143143
"dependencies": {
144144
"crypto-js": "^4.2.0",
145145
"query-string": "^9.0.0",

packages/map/ios/Component/Map/RNCKakaoMapView.h

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77

88
#import "RCTFabricComponentsPlugins.h"
9-
#import "Util.h"
109
#import <KakaoMapsSDK/KakaoMapsSDK-Swift.h>
1110
#import <KakaoMapsSDK/KakaoMapsSDK.h>
1211
#import <React/RCTViewComponentView.h>

packages/map/ios/Component/Map/RNCKakaoMapView.mm

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
#import "RNCKakaoMapView.h"
9+
#import "Util.h"
910

1011
using namespace facebook::react;
1112

packages/map/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,6 @@
112112
},
113113
"dependencies": {
114114
"@mj-studio/js-util": "1.1.3"
115-
}
115+
},
116+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d"
116117
}

packages/navi/ios/RNCKakaoNavi.mm

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#import "RNCKakaoNavi.h"
2+
#if __has_include("RNCKakaoNavi-Swift.h")
23
#import "RNCKakaoNavi-Swift.h"
3-
4+
#else
5+
#import <RNCKakaoNavi/RNCKakaoNavi-Swift.h>
6+
#endif
47
@implementation RNCKakaoNavi
58

69
- (RNCKakaoNaviManager*)manager {

packages/navi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"javaPackageName": "net.mjstudio.rnkakao.navi"
111111
}
112112
},
113-
"gitHead": "57203ed1725b209e814da7cfbb71b36f52d24210",
113+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d",
114114
"dependencies": {
115115
"@mj-studio/js-util": "1.1.3"
116116
}

packages/share/ios/RNCKakaoShare.mm

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNCKakaoShare.h"
2+
#if __has_include("RNCKakaoShare-Swift.h")
23
#import "RNCKakaoShare-Swift.h"
4+
#else
5+
#import <RNCKakaoShare/RNCKakaoShare-Swift.h>
6+
#endif
37

48
@implementation RNCKakaoShare
59

packages/share/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"javaPackageName": "net.mjstudio.rnkakao.share"
109109
}
110110
},
111-
"gitHead": "57203ed1725b209e814da7cfbb71b36f52d24210",
111+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d",
112112
"dependencies": {
113113
"@mj-studio/js-util": "1.1.3"
114114
}

packages/social/ios/RNCKakaoSocial.mm

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#import "RNCKakaoSocial.h"
2+
3+
#if __has_include("RNCKakaoSocial-Swift.h")
24
#import "RNCKakaoSocial-Swift.h"
5+
#else
6+
#import <RNCKakaoSocial/RNCKakaoSocial-Swift.h>
7+
#endif
38

49
@implementation RNCKakaoSocial
510

packages/social/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"javaPackageName": "net.mjstudio.rnkakao.social"
113113
}
114114
},
115-
"gitHead": "57203ed1725b209e814da7cfbb71b36f52d24210",
115+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d",
116116
"dependencies": {
117117
"@mj-studio/js-util": "1.1.3"
118118
}

packages/user/ios/RNCKakaoUser.mm

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNCKakaoUser.h"
2+
#if __has_include("RNCKakaoUser-Swift.h")
23
#import "RNCKakaoUser-Swift.h"
4+
#else
5+
#import <RNCKakaoUser/RNCKakaoUser-Swift.h>
6+
#endif
37

48
@implementation RNCKakaoUser
59

packages/user/ios/RNCKakaoUserUtil.mm

+4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
//
77

88
#import "RNCKakaoUserUtil.h"
9+
#if __has_include("RNCKakaoUser-Swift.h")
910
#import "RNCKakaoUser-Swift.h"
11+
#else
12+
#import <RNCKakaoUser/RNCKakaoUser-Swift.h>
13+
#endif
1014

1115
@implementation RNCKakaoUserUtil
1216
+ (BOOL)isKakaoTalkLoginUrl:(NSURL*)url {

packages/user/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"javaPackageName": "net.mjstudio.rnkakao.user"
111111
}
112112
},
113-
"gitHead": "57203ed1725b209e814da7cfbb71b36f52d24210",
113+
"gitHead": "5ca9177f7ac369140ffb58d3c1285c2e5c96057d",
114114
"dependencies": {
115115
"@mj-studio/js-util": "1.1.3"
116116
}

0 commit comments

Comments
 (0)