Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android, jcenter): remove jcenter dependency / update example (#500)
* fix(jcenter): remove jcenter + fixed example - don't work, because one '/../' was deleted (fab577d) + fixed eslint configures + fixed jest configures * test(jest-expo): fix jest.config.js upgrade react-native-web because gets error's on tests * refactor(android): move example source into dir suitable package name * return peerDependencies for "react-native": ">=0.59" and minSdkVersion=16 * pin android buildTools to api30, add ndkVersion pin * chore: improve react-native.config.js fix: - applicationId for react-native run-android. - update podfile for new react-native - refactoring react-native.config.js for better developer experience * fix(ios, example): ios example works now Co-authored-by: bibazavr <lebedevki@lad24.ru> Co-authored-by: Mike Hardy <github@mikehardy.net>
- Loading branch information
1 parent
8ee14bb
commit 94c5398
Showing
30 changed files
with
5,964 additions
and
3,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,8 @@ yarn-error.log | |
# BUCK | ||
buck-out/ | ||
\.buckd/ | ||
debug.keystore | ||
*.keystore | ||
!debug.keystore | ||
|
||
# fastlane | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
rootProject.name = 'NetInfoExample' | ||
|
||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) | ||
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) | ||
|
||
include ':app' | ||
// You will not need to manual link like this. This is a quirk of the example project | ||
include ':react-native-netinfo' | ||
project(':react-native-netinfo').projectDir = new File(rootProject.projectDir, '../../android') | ||
|
||
include ':app' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,21 @@ | ||
platform :ios, '9.0' | ||
platform :ios, '11.0' | ||
require_relative '../../node_modules/react-native/scripts/react_native_pods' | ||
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules' | ||
|
||
target 'NetInfoExample' do | ||
# Pods for NetInfoExample | ||
pod 'FBLazyVector', :path => "../../node_modules/react-native/Libraries/FBLazyVector" | ||
pod 'FBReactNativeSpec', :path => "../../node_modules/react-native/Libraries/FBReactNativeSpec" | ||
pod 'RCTRequired', :path => "../../node_modules/react-native/Libraries/RCTRequired" | ||
pod 'RCTTypeSafety', :path => "../../node_modules/react-native/Libraries/TypeSafety" | ||
pod 'React', :path => '../../node_modules/react-native/' | ||
pod 'React-Core', :path => '../../node_modules/react-native/' | ||
pod 'React-CoreModules', :path => '../../node_modules/react-native/React/CoreModules' | ||
pod 'React-Core/DevSupport', :path => '../../node_modules/react-native/' | ||
pod 'React-RCTActionSheet', :path => '../../node_modules/react-native/Libraries/ActionSheetIOS' | ||
pod 'React-RCTAnimation', :path => '../../node_modules/react-native/Libraries/NativeAnimation' | ||
pod 'React-RCTBlob', :path => '../../node_modules/react-native/Libraries/Blob' | ||
pod 'React-RCTImage', :path => '../../node_modules/react-native/Libraries/Image' | ||
pod 'React-RCTLinking', :path => '../../node_modules/react-native/Libraries/LinkingIOS' | ||
pod 'React-RCTNetwork', :path => '../../node_modules/react-native/Libraries/Network' | ||
pod 'React-RCTSettings', :path => '../../node_modules/react-native/Libraries/Settings' | ||
pod 'React-RCTText', :path => '../../node_modules/react-native/Libraries/Text' | ||
pod 'React-RCTVibration', :path => '../../node_modules/react-native/Libraries/Vibration' | ||
pod 'React-Core/RCTWebSocket', :path => '../../node_modules/react-native/' | ||
config = use_native_modules! | ||
|
||
pod 'React-cxxreact', :path => '../../node_modules/react-native/ReactCommon/cxxreact' | ||
pod 'React-jsi', :path => '../../node_modules/react-native/ReactCommon/jsi' | ||
pod 'React-jsiexecutor', :path => '../../node_modules/react-native/ReactCommon/jsiexecutor' | ||
pod 'React-jsinspector', :path => '../../node_modules/react-native/ReactCommon/jsinspector' | ||
pod 'ReactCommon/jscallinvoker', :path => "../../node_modules/react-native/ReactCommon" | ||
pod 'ReactCommon/turbomodule/core', :path => "../../node_modules/react-native/ReactCommon" | ||
pod 'Yoga', :path => '../../node_modules/react-native/ReactCommon/yoga' | ||
use_react_native!( | ||
# This path to react-native is non-standard, it is a quirk of the example project here. | ||
:path => '../../node_modules/react-native', | ||
# to enable hermes on iOS, change `false` to `true` and then install pods | ||
:hermes_enabled => false | ||
) | ||
|
||
pod 'DoubleConversion', :podspec => '../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' | ||
pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec' | ||
pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec' | ||
|
||
# You should not need to manually link in your Podfile like this, this is a quirk of the example project | ||
pod 'react-native-netinfo', :path => '../../' | ||
|
||
use_native_modules!(root = "../..") | ||
post_install do |installer| | ||
react_native_post_install(installer) | ||
end | ||
end |
Oops, something went wrong.