gomarketme-react-native 4.0.0 → 5.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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +89 -51
  3. package/android/build.gradle +46 -0
  4. package/android/libs/core-5.0.0.jar +0 -0
  5. package/android/src/main/AndroidManifest.xml +3 -0
  6. package/android/src/main/java/co/gomarketme/reactnative/GoMarketMeReactNativeModule.kt +184 -0
  7. package/android/src/main/java/co/gomarketme/reactnative/GoMarketMeReactNativePackage.kt +16 -0
  8. package/gomarketme-react-native.podspec +18 -0
  9. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/Info.plist +44 -0
  10. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/GoMarketMeAppleCoreKit +0 -0
  11. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Info.plist +0 -0
  12. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios.abi.json +2932 -0
  13. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios.package.swiftinterface +86 -0
  14. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios.private.swiftinterface +86 -0
  15. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  16. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios.swiftinterface +86 -0
  17. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/GoMarketMeAppleCoreKit +0 -0
  18. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Info.plist +0 -0
  19. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios-simulator.abi.json +2932 -0
  20. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +86 -0
  21. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +86 -0
  22. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +86 -0
  24. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +2932 -0
  25. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +86 -0
  26. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +86 -0
  27. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  28. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/Modules/GoMarketMeAppleCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +86 -0
  29. package/ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework/_CodeSignature/CodeResources +101 -0
  30. package/ios/GoMarketMeReactNative.swift +133 -0
  31. package/ios/GoMarketMeReactNativeBridge.m +17 -0
  32. package/{dist → lib}/index.d.ts +27 -30
  33. package/lib/index.js +172 -0
  34. package/package.json +41 -18
  35. package/react-native.config.js +12 -0
  36. package/.editorconfig +0 -15
  37. package/.gitattributes +0 -3
  38. package/.github/actions/setup/action.yml +0 -27
  39. package/.github/workflows/ci.yml +0 -157
  40. package/.nvmrc +0 -1
  41. package/.watchmanconfig +0 -1
  42. package/.yarn/releases/yarn-4.3.1-git.20240705.hash-35167b2.cjs +0 -894
  43. package/.yarnrc.yml +0 -5
  44. package/dist/index.js +0 -544
  45. package/lefthook.yml +0 -35
  46. package/src/index.tsx +0 -392
  47. package/tsconfig.json +0 -19
package/lib/index.js ADDED
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SaleDistribution = exports.Affiliate = exports.Campaign = exports.GoMarketMeAffiliateMarketingData = void 0;
4
+ const react_native_1 = require("react-native");
5
+ const LINKING_ERROR = "The native GoMarketMe module is not linked. Make sure you rebuilt your app after installing gomarketme-react-native.";
6
+ class GoMarketMeAffiliateMarketingData {
7
+ constructor(campaign, affiliate, saleDistribution, affiliateCampaignCode, deviceId, offerCode) {
8
+ this.campaign = campaign;
9
+ this.affiliate = affiliate;
10
+ this.saleDistribution = saleDistribution;
11
+ this.affiliateCampaignCode = affiliateCampaignCode;
12
+ this.deviceId = deviceId;
13
+ this.offerCode = offerCode;
14
+ }
15
+ static fromJson(json) {
16
+ if (!json || Object.keys(json).length === 0) {
17
+ return null;
18
+ }
19
+ return new GoMarketMeAffiliateMarketingData(Campaign.fromJson(asRecord(json.campaign)), Affiliate.fromJson(asRecord(json.affiliate)), SaleDistribution.fromJson(asRecord(json.sale_distribution)), asString(json.affiliate_campaign_code), asString(json.device_id), json.offer_code == null ? undefined : String(json.offer_code));
20
+ }
21
+ toJson() {
22
+ return {
23
+ campaign: this.campaign.toJson(),
24
+ affiliate: this.affiliate.toJson(),
25
+ sale_distribution: this.saleDistribution.toJson(),
26
+ affiliate_campaign_code: this.affiliateCampaignCode,
27
+ device_id: this.deviceId,
28
+ offer_code: this.offerCode,
29
+ };
30
+ }
31
+ }
32
+ exports.GoMarketMeAffiliateMarketingData = GoMarketMeAffiliateMarketingData;
33
+ class Campaign {
34
+ constructor(id, name, status, type, publicLinkUrl) {
35
+ this.id = id;
36
+ this.name = name;
37
+ this.status = status;
38
+ this.type = type;
39
+ this.publicLinkUrl = publicLinkUrl;
40
+ }
41
+ static fromJson(json) {
42
+ return new Campaign(asString(json.id), asString(json.name), asString(json.status), asString(json.type), json.public_link_url == null ? undefined : String(json.public_link_url));
43
+ }
44
+ toJson() {
45
+ return {
46
+ id: this.id,
47
+ name: this.name,
48
+ status: this.status,
49
+ type: this.type,
50
+ public_link_url: this.publicLinkUrl,
51
+ };
52
+ }
53
+ }
54
+ exports.Campaign = Campaign;
55
+ class Affiliate {
56
+ constructor(id, firstName, lastName, countryCode, instagramAccount, tiktokAccount, xAccount) {
57
+ this.id = id;
58
+ this.firstName = firstName;
59
+ this.lastName = lastName;
60
+ this.countryCode = countryCode;
61
+ this.instagramAccount = instagramAccount;
62
+ this.tiktokAccount = tiktokAccount;
63
+ this.xAccount = xAccount;
64
+ }
65
+ static fromJson(json) {
66
+ return new Affiliate(asString(json.id), asString(json.first_name), asString(json.last_name), asString(json.country_code), asString(json.instagram_account), asString(json.tiktok_account), asString(json.x_account));
67
+ }
68
+ toJson() {
69
+ return {
70
+ id: this.id,
71
+ first_name: this.firstName,
72
+ last_name: this.lastName,
73
+ country_code: this.countryCode,
74
+ instagram_account: this.instagramAccount,
75
+ tiktok_account: this.tiktokAccount,
76
+ x_account: this.xAccount,
77
+ };
78
+ }
79
+ }
80
+ exports.Affiliate = Affiliate;
81
+ class SaleDistribution {
82
+ constructor(platformPercentage, affiliatePercentage) {
83
+ this.platformPercentage = platformPercentage;
84
+ this.affiliatePercentage = affiliatePercentage;
85
+ }
86
+ static fromJson(json) {
87
+ return new SaleDistribution(asString(json.platform_percentage), asString(json.affiliate_percentage));
88
+ }
89
+ toJson() {
90
+ return {
91
+ platform_percentage: this.platformPercentage,
92
+ affiliate_percentage: this.affiliatePercentage,
93
+ };
94
+ }
95
+ }
96
+ exports.SaleDistribution = SaleDistribution;
97
+ class GoMarketMe {
98
+ constructor() {
99
+ this.sdkType = 'ReactNative';
100
+ this.sdkVersion = '5.0.0';
101
+ this.isInitializing = false;
102
+ this.isInitialized = false;
103
+ }
104
+ static getInstance() {
105
+ if (!GoMarketMe.instance) {
106
+ GoMarketMe.instance = new GoMarketMe();
107
+ }
108
+ return GoMarketMe.instance;
109
+ }
110
+ get initialized() {
111
+ return this.isInitialized;
112
+ }
113
+ async initialize(apiKey) {
114
+ var _a;
115
+ const trimmedApiKey = apiKey.trim();
116
+ if (!trimmedApiKey) {
117
+ log('Initialization skipped because apiKey is empty.');
118
+ return;
119
+ }
120
+ if (this.isInitialized || this.isInitializing) {
121
+ log('Initialization skipped because SDK is already initialized or initializing.');
122
+ return;
123
+ }
124
+ this.isInitializing = true;
125
+ try {
126
+ const response = await nativeModule().initialize(trimmedApiKey, this.sdkType, this.sdkVersion, !__DEV__);
127
+ this.affiliateMarketingData = GoMarketMeAffiliateMarketingData.fromJson((_a = response.affiliateMarketingData) !== null && _a !== void 0 ? _a : null);
128
+ this.isInitialized = true;
129
+ }
130
+ catch (error) {
131
+ log(`Error initializing GoMarketMe: ${String(error)}`);
132
+ }
133
+ finally {
134
+ this.isInitializing = false;
135
+ }
136
+ }
137
+ async syncAllTransactions() {
138
+ if (!this.isInitialized) {
139
+ throw new Error('GoMarketMe SDK must be initialized before syncing transactions.');
140
+ }
141
+ const syncAllTransactions = nativeModule().syncAllTransactions;
142
+ if (typeof syncAllTransactions !== 'function') {
143
+ throw new Error('GoMarketMe transaction sync is not available in the linked native module.');
144
+ }
145
+ return syncAllTransactions();
146
+ }
147
+ stop() {
148
+ var _a, _b;
149
+ (_b = (_a = nativeModule()).stop) === null || _b === void 0 ? void 0 : _b.call(_a);
150
+ this.isInitialized = false;
151
+ this.isInitializing = false;
152
+ }
153
+ }
154
+ function nativeModule() {
155
+ const module = react_native_1.NativeModules.GoMarketMeReactNative;
156
+ if (!module) {
157
+ throw new Error(LINKING_ERROR);
158
+ }
159
+ return module;
160
+ }
161
+ function log(message) {
162
+ if (__DEV__) {
163
+ console.log(`[GoMarketMe] ${message}`);
164
+ }
165
+ }
166
+ function asRecord(value) {
167
+ return value && typeof value === 'object' && !Array.isArray(value) ? value : {};
168
+ }
169
+ function asString(value) {
170
+ return value == null ? '' : String(value);
171
+ }
172
+ exports.default = GoMarketMe.getInstance();
package/package.json CHANGED
@@ -1,37 +1,60 @@
1
1
  {
2
2
  "name": "gomarketme-react-native",
3
- "version": "4.0.0",
4
- "description": "Affiliate Marketing for React Native-Based iOS and Android Apps.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
3
+ "version": "5.0.0",
4
+ "description": "Affiliate Marketing for React Native and Expo iOS and Android apps.",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "react-native": "lib/index.js",
8
+ "files": [
9
+ "lib",
10
+ "ios/GoMarketMeReactNative.swift",
11
+ "ios/GoMarketMeReactNativeBridge.m",
12
+ "ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/Info.plist",
13
+ "ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64/GoMarketMeAppleCoreKit.framework",
14
+ "ios/Frameworks/GoMarketMeAppleCoreKit.xcframework/ios-arm64_x86_64-simulator/GoMarketMeAppleCoreKit.framework",
15
+ "android/build.gradle",
16
+ "android/src",
17
+ "android/libs/core-5.0.0.jar",
18
+ "gomarketme-react-native.podspec",
19
+ "react-native.config.js",
20
+ "README.md",
21
+ "LICENSE"
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/GoMarketMe/gomarketme-react-native.git"
26
+ },
7
27
  "scripts": {
8
28
  "build": "tsc",
9
- "prepublishOnly": "npm run build",
10
- "test": "echo \"Error: no test specified\" && exit 1"
29
+ "clean": "rm -rf lib",
30
+ "prepack": "npm run build"
11
31
  },
12
32
  "homepage": "https://gomarketme.co",
13
33
  "keywords": [
14
34
  "react-native",
35
+ "expo",
36
+ "affiliate-marketing",
37
+ "influencer-marketing",
38
+ "in-app-purchases",
39
+ "subscriptions",
15
40
  "gomarketme",
16
- "sdk"
41
+ "sdk",
42
+ "iOS",
43
+ "Android",
44
+ "mobile",
45
+ "monetization",
46
+ "influencers"
17
47
  ],
18
48
  "author": "GoMarketMe",
19
49
  "license": "MIT",
20
- "dependencies": {
21
- "@react-native-async-storage/async-storage": "^2.2.0",
22
- "axios": "^1.13.2",
23
- "get-user-locale": "^3.0.0",
24
- "react-native-device-info": "^14.1.1",
25
- "react-native-iap": "^14.4.38",
26
- "react-native-nitro-modules": "^0.31.4"
27
- },
28
50
  "devDependencies": {
29
- "@types/node": "^24.10.0",
30
- "@types/react-native": "^0.73.0",
51
+ "@types/react": "*",
52
+ "react": "*",
53
+ "react-native": "*",
31
54
  "typescript": "^5.9.3"
32
55
  },
33
56
  "peerDependencies": {
34
57
  "react": "*",
35
58
  "react-native": "*"
36
59
  }
37
- }
60
+ }
@@ -0,0 +1,12 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ android: {
5
+ sourceDir: './android',
6
+ packageImportPath: 'import co.gomarketme.reactnative.GoMarketMeReactNativePackage;',
7
+ packageInstance: 'new GoMarketMeReactNativePackage()',
8
+ },
9
+ ios: {},
10
+ },
11
+ },
12
+ };
package/.editorconfig DELETED
@@ -1,15 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
-
9
- indent_style = space
10
- indent_size = 2
11
-
12
- end_of_line = lf
13
- charset = utf-8
14
- trim_trailing_whitespace = true
15
- insert_final_newline = true
package/.gitattributes DELETED
@@ -1,3 +0,0 @@
1
- *.pbxproj -text
2
- # specific for windows script files
3
- *.bat text eol=crlf
@@ -1,27 +0,0 @@
1
- name: Setup
2
- description: Setup Node.js and install dependencies
3
-
4
- runs:
5
- using: composite
6
- steps:
7
- - name: Setup Node.js
8
- uses: actions/setup-node@v3
9
- with:
10
- node-version-file: .nvmrc
11
-
12
- - name: Cache dependencies
13
- id: yarn-cache
14
- uses: actions/cache@v3
15
- with:
16
- path: |
17
- **/node_modules
18
- .yarn/install-state.gz
19
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
20
- restore-keys: |
21
- ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
22
- ${{ runner.os }}-yarn-
23
-
24
- - name: Install dependencies
25
- if: steps.yarn-cache.outputs.cache-hit != 'true'
26
- run: yarn install --immutable
27
- shell: bash
@@ -1,157 +0,0 @@
1
- name: CI
2
- on:
3
- push:
4
- branches:
5
- - main
6
- pull_request:
7
- branches:
8
- - main
9
- merge_group:
10
- types:
11
- - checks_requested
12
-
13
- jobs:
14
- lint:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - name: Checkout
18
- uses: actions/checkout@v3
19
-
20
- - name: Setup
21
- uses: ./.github/actions/setup
22
-
23
- - name: Lint files
24
- run: yarn lint
25
-
26
- - name: Typecheck files
27
- run: yarn typecheck
28
-
29
- test:
30
- runs-on: ubuntu-latest
31
- steps:
32
- - name: Checkout
33
- uses: actions/checkout@v3
34
-
35
- - name: Setup
36
- uses: ./.github/actions/setup
37
-
38
- - name: Run unit tests
39
- run: yarn test --maxWorkers=2 --coverage
40
-
41
- build-library:
42
- runs-on: ubuntu-latest
43
- steps:
44
- - name: Checkout
45
- uses: actions/checkout@v3
46
-
47
- - name: Setup
48
- uses: ./.github/actions/setup
49
-
50
- - name: Build package
51
- run: yarn prepare
52
-
53
- build-android:
54
- runs-on: ubuntu-latest
55
- env:
56
- TURBO_CACHE_DIR: .turbo/android
57
- steps:
58
- - name: Checkout
59
- uses: actions/checkout@v3
60
-
61
- - name: Setup
62
- uses: ./.github/actions/setup
63
-
64
- - name: Cache turborepo for Android
65
- uses: actions/cache@v3
66
- with:
67
- path: ${{ env.TURBO_CACHE_DIR }}
68
- key: ${{ runner.os }}-turborepo-android-${{ hashFiles('yarn.lock') }}
69
- restore-keys: |
70
- ${{ runner.os }}-turborepo-android-
71
-
72
- - name: Check turborepo cache for Android
73
- run: |
74
- TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:android').cache.status")
75
-
76
- if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
77
- echo "turbo_cache_hit=1" >> $GITHUB_ENV
78
- fi
79
-
80
- - name: Install JDK
81
- if: env.turbo_cache_hit != 1
82
- uses: actions/setup-java@v3
83
- with:
84
- distribution: 'zulu'
85
- java-version: '17'
86
-
87
- - name: Finalize Android SDK
88
- if: env.turbo_cache_hit != 1
89
- run: |
90
- /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
91
-
92
- - name: Cache Gradle
93
- if: env.turbo_cache_hit != 1
94
- uses: actions/cache@v3
95
- with:
96
- path: |
97
- ~/.gradle/wrapper
98
- ~/.gradle/caches
99
- key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
100
- restore-keys: |
101
- ${{ runner.os }}-gradle-
102
-
103
- - name: Build example for Android
104
- env:
105
- JAVA_OPTS: "-XX:MaxHeapSize=6g"
106
- run: |
107
- yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
108
-
109
- build-ios:
110
- runs-on: macos-14
111
- env:
112
- TURBO_CACHE_DIR: .turbo/ios
113
- steps:
114
- - name: Checkout
115
- uses: actions/checkout@v3
116
-
117
- - name: Setup
118
- uses: ./.github/actions/setup
119
-
120
- - name: Cache turborepo for iOS
121
- uses: actions/cache@v3
122
- with:
123
- path: ${{ env.TURBO_CACHE_DIR }}
124
- key: ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}
125
- restore-keys: |
126
- ${{ runner.os }}-turborepo-ios-
127
-
128
- - name: Check turborepo cache for iOS
129
- run: |
130
- TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
131
-
132
- if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
133
- echo "turbo_cache_hit=1" >> $GITHUB_ENV
134
- fi
135
-
136
- - name: Cache cocoapods
137
- if: env.turbo_cache_hit != 1
138
- id: cocoapods-cache
139
- uses: actions/cache@v3
140
- with:
141
- path: |
142
- **/ios/Pods
143
- key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
144
- restore-keys: |
145
- ${{ runner.os }}-cocoapods-
146
-
147
- - name: Install cocoapods
148
- if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
149
- run: |
150
- cd example/ios
151
- pod install
152
- env:
153
- NO_FLIPPER: 1
154
-
155
- - name: Build example for iOS
156
- run: |
157
- yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v18
package/.watchmanconfig DELETED
@@ -1 +0,0 @@
1
- {}