Skip to content

Commit

Permalink
fix: android build error
Browse files Browse the repository at this point in the history
  • Loading branch information
alantoa committed Nov 17, 2022
1 parent ef31927 commit b9c137c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 49 deletions.
15 changes: 1 addition & 14 deletions examples/expo/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
"android": {
"package": "com.nandorojo.zeegexample"
},
"plugins": [
[
"expo-build-properties",
{
"android": {
"compileSdkVersion": 31,
"targetSdkVersion": 31,
"minSdkVersion": 23,
"buildToolsVersion": "31.0.0",
"kotlinVersion": "1.6.10"
}
}
]
]
"plugins": []
}
}
3 changes: 1 addition & 2 deletions examples/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"test": "jest"
},
"dependencies": {
"@react-native-menu/menu": "^0.5.2",
"@react-native-menu/menu": "^0.7.2",
"add": "^2.0.6",
"expo": "^46.0.0",
"expo-build-properties": "^0.2.0",
"expo-router": "^0.0.33",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
Expand Down
9 changes: 9 additions & 0 deletions examples/expo/react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
dependencies: {
'react-native-ios-context-menu': {
platforms: {
android: null,
},
},
},
}
5 changes: 0 additions & 5 deletions examples/expo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2617,11 +2617,6 @@
sudo-prompt "^9.0.0"
wcwidth "^1.0.1"

"@react-native-menu/menu@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@react-native-menu/menu/-/menu-0.5.2.tgz#7b1ae8e41ee3b7306c4bf8b53b9e2cb78b4a829b"
integrity sha512-+ULWH3OXuirS4m03UhUkQj/G9q0wQo7LGDcxTyS12bVKQQ+yHwif4C3QcYy0zVIxwMPltCA7eOvsTThT0+B2xQ==

"@react-native/[email protected]":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@react-native/assets/-/assets-1.0.0.tgz#c6f9bf63d274bafc8e970628de24986b30a55c8e"
Expand Down
2 changes: 1 addition & 1 deletion packages/zeego/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-menu/menu": "*",
"@react-native-menu/menu": "^0.7.2",
"@release-it/conventional-changelog": "^2.0.0",
"@types/jest": "^26.0.0",
"@types/react": "^17.0.1",
Expand Down
35 changes: 8 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2779,7 +2779,7 @@
node-forge "^1.2.1"
nullthrows "^1.1.1"

"@expo/[email protected]", "@expo/[email protected]", "@expo/config-plugins@^5.0.0", "@expo/config-plugins@~4.1.4", "@expo/config-plugins@~5.0.0", "@expo/config-plugins@~5.0.1", "@expo/config-plugins@~5.0.3":
"@expo/[email protected]", "@expo/[email protected]", "@expo/config-plugins@^5.0.0", "@expo/config-plugins@~5.0.0", "@expo/config-plugins@~5.0.1", "@expo/config-plugins@~5.0.3":
version "5.0.4"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-5.0.4.tgz#216fea6558fe66615af1370de55193f4181cb23e"
integrity sha512-vzUcVpqOMs3h+hyRdhGwk+eGIOhXa5xYdd92yO17RMNHav3v/+ekMbs7XA2c3lepMO8Yd4/5hqmRw9ZTL6jGzg==
Expand Down Expand Up @@ -3116,9 +3116,9 @@
xmlbuilder "^14.0.0"

"@expo/[email protected]", "@expo/prebuild-config@^5.0.1", "@expo/prebuild-config@~5.0.0", "@expo/prebuild-config@~5.0.3":
version "5.0.6"
resolved "https://registry.yarnpkg.com/@expo/prebuild-config/-/prebuild-config-5.0.6.tgz#817d477ee76031d56a12514db52a27f5aec701b7"
integrity sha512-umHVsle+inPFPt+GMWRjZhkHwNbbaXpiEKbRnWKweInaXEZa9R9qt8gLyzniaREnw+/cEAIgL1znrKmNk4lUfQ==
version "5.0.7"
resolved "https://registry.yarnpkg.com/@expo/prebuild-config/-/prebuild-config-5.0.7.tgz#4658b66126c4d32c7b6302571e458a71811b07aa"
integrity sha512-D+TBpJUHe4+oTGFPb4o0rrw/h1xxc6wF+abJnbDHUkhnaeiHkE2O3ByS7FdiZ2FT36t0OKqeSKG/xFwWT3m1Ew==
dependencies:
"@expo/config" "~7.0.2"
"@expo/config-plugins" "~5.0.3"
Expand Down Expand Up @@ -5313,10 +5313,10 @@
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.1.0.tgz#e42b1bef12d2415411519fd528e64b593b1363dc"
integrity sha512-W/J0fNYVO01tioHjvYWQ9m6RgndVtbElzYozBq1ZPrHO/iCzlqoySHl4gO/fpCl9QEFjvJfjPgtPMTMlsoq5DQ==

"@react-native-menu/menu@*", "@react-native-menu/menu@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@react-native-menu/menu/-/menu-0.5.2.tgz#7b1ae8e41ee3b7306c4bf8b53b9e2cb78b4a829b"
integrity sha512-+ULWH3OXuirS4m03UhUkQj/G9q0wQo7LGDcxTyS12bVKQQ+yHwif4C3QcYy0zVIxwMPltCA7eOvsTThT0+B2xQ==
"@react-native-menu/menu@^0.7.2":
version "0.7.2"
resolved "https://registry.yarnpkg.com/@react-native-menu/menu/-/menu-0.7.2.tgz#922a4357994f2768313ce0fc22362f6cea74ad8b"
integrity sha512-RXoU1tZjRdG/IV2S1x6WYNA2z6ul2vhdXQU/WFmsIAT+FbX1j9R/odSL/qjeyr5LlV+OUI0zofh8YrBn9wesag==

"@react-native/[email protected]":
version "1.0.0"
Expand Down Expand Up @@ -6372,16 +6372,6 @@ ajv@^8.0.1:
require-from-string "^2.0.2"
uri-js "^4.2.2"

ajv@^8.11.0:
version "8.11.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f"
integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==
dependencies:
fast-deep-equal "^3.1.1"
json-schema-traverse "^1.0.0"
require-from-string "^2.0.2"
uri-js "^4.2.2"

alphanum-sort@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
Expand Down Expand Up @@ -10556,15 +10546,6 @@ expo-asset@~8.6.1:
path-browserify "^1.0.0"
url-parse "^1.5.9"

expo-build-properties@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/expo-build-properties/-/expo-build-properties-0.2.0.tgz#604514bb133f6a5d082af35f80ca706446902caa"
integrity sha512-9GcZ+lReZf5mjtdu1Vn7anSMMCRzoktiJ9S4DcXEJ6as36QFPsYbpEI3xrH7VrfR6i/pdysCNgYbme+IaeEIaQ==
dependencies:
"@expo/config-plugins" "~4.1.4"
ajv "^8.11.0"
semver "^7.3.5"

expo-cli@latest:
version "5.4.9"
resolved "https://registry.yarnpkg.com/expo-cli/-/expo-cli-5.4.9.tgz#71408d15005a11efe71f14caae90bd767afe1f70"
Expand Down

0 comments on commit b9c137c

Please sign in to comment.