Skip to content

Commit 6d13661

Browse files
committed
chore(deps): upate react-native0.66.1 to 0.69.1
1 parent fb1fe83 commit 6d13661

File tree

94 files changed

+8701
-6181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+8701
-6181
lines changed

example/base/.flowconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ node_modules/react-native/Libraries/polyfills/.*
1111
; Flow doesn't support platforms
1212
.*/Libraries/Utilities/LoadingView.js
1313

14+
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
15+
1416
[untyped]
1517
.*/node_modules/@react-native-community/cli/.*/.*
1618

@@ -50,7 +52,6 @@ nonstrict-import=warn
5052
deprecated-type=warn
5153
unsafe-getters-setters=warn
5254
unnecessary-invariant=warn
53-
signature-verification-failure=warn
5455

5556
[strict]
5657
deprecated-type
@@ -62,4 +63,4 @@ untyped-import
6263
untyped-type-import
6364

6465
[version]
65-
^0.158.0
66+
^0.176.3

example/base/.gitattributes

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/base/.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23+
ios/.xcode.env.local
2324

2425
# Android/IntelliJ
2526
#
@@ -28,6 +29,7 @@ build/
2829
.gradle
2930
local.properties
3031
*.iml
32+
*.hprof
3133

3234
# node.js
3335
#
@@ -48,12 +50,14 @@ buck-out/
4850
# For more information about the recommended setup visit:
4951
# https://docs.fastlane.tools/best-practices/source-control/
5052

51-
*/fastlane/report.xml
52-
*/fastlane/Preview.html
53-
*/fastlane/screenshots
53+
**/fastlane/report.xml
54+
**/fastlane/Preview.html
55+
**/fastlane/screenshots
56+
**/fastlane/test_output
5457

5558
# Bundle artifact
5659
*.jsbundle
5760

58-
# CocoaPods
61+
# Ruby / CocoaPods
5962
/ios/Pods/
63+
/vendor/bundle/

example/base/.prettierrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
module.exports = {
2+
arrowParens: 'avoid',
3+
bracketSameLine: true,
24
bracketSpacing: false,
3-
jsxBracketSameLine: true,
5+
tabWidth: 2,
46
singleQuote: true,
57
trailingComma: 'all',
68
arrowParens: 'avoid',
9+
printWidth: 160,
710
};

example/base/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4+
ruby '2.7.5'
5+
6+
gem 'cocoapods', '~> 1.11', '>= 1.11.2'

example/base/_bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1

example/base/_ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.5

example/base/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
android:usesCleartextTraffic="true"
99
tools:targetApi="28"
1010
tools:ignore="GoogleAppIndexingWarning">
11-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
11+
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" />
1212
</application>
1313
</manifest>

example/base/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java renamed to example/base/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
33
*
44
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
55
* directory of this source tree.
66
*/
77
package com.awesomeproject;
8-
98
import android.content.Context;
109
import com.facebook.flipper.android.AndroidFlipperClient;
1110
import com.facebook.flipper.android.utils.FlipperUtils;
@@ -19,22 +18,20 @@
1918
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
2019
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
2120
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
21+
import com.facebook.react.ReactInstanceEventListener;
2222
import com.facebook.react.ReactInstanceManager;
2323
import com.facebook.react.bridge.ReactContext;
2424
import com.facebook.react.modules.network.NetworkingModule;
2525
import okhttp3.OkHttpClient;
26-
2726
public class ReactNativeFlipper {
2827
public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
2928
if (FlipperUtils.shouldEnableFlipper(context)) {
3029
final FlipperClient client = AndroidFlipperClient.getInstance(context);
31-
3230
client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
3331
client.addPlugin(new ReactFlipperPlugin());
3432
client.addPlugin(new DatabasesFlipperPlugin(context));
3533
client.addPlugin(new SharedPreferencesFlipperPlugin(context));
3634
client.addPlugin(CrashReporterPlugin.getInstance());
37-
3835
NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
3936
NetworkingModule.setCustomClientBuilder(
4037
new NetworkingModule.CustomClientBuilder() {
@@ -45,13 +42,12 @@ public void apply(OkHttpClient.Builder builder) {
4542
});
4643
client.addPlugin(networkFlipperPlugin);
4744
client.start();
48-
4945
// Fresco Plugin needs to ensure that ImagePipelineFactory is initialized
5046
// Hence we run if after all native modules have been initialized
5147
ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
5248
if (reactContext == null) {
5349
reactInstanceManager.addReactInstanceEventListener(
54-
new ReactInstanceManager.ReactInstanceEventListener() {
50+
new ReactInstanceEventListener() {
5551
@Override
5652
public void onReactContextInitialized(ReactContext reactContext) {
5753
reactInstanceManager.removeReactInstanceEventListener(this);
@@ -69,4 +65,4 @@ public void run() {
6965
}
7066
}
7167
}
72-
}
68+
}

example/base/android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
<activity
1414
android:name=".MainActivity"
1515
android:label="@string/app_name"
16-
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
16+
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
1717
android:launchMode="singleTask"
18-
android:windowSoftInputMode="adjustResize">
18+
android:windowSoftInputMode="adjustResize"
19+
android:exported="true">
1920
<intent-filter>
2021
<action android:name="android.intent.action.MAIN" />
2122
<category android:name="android.intent.category.LAUNCHER" />

0 commit comments

Comments
 (0)