This file contains hidden or 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
diff --git a/node_modules/expo-modules-core/common/cpp/fabric/ExpoViewComponentDescriptor.h b/node_modules/expo-modules-core/common/cpp/fabric/ExpoViewComponentDescriptor.h | |
index 11073e5..988b389 100644 | |
--- a/node_modules/expo-modules-core/common/cpp/fabric/ExpoViewComponentDescriptor.h | |
+++ b/node_modules/expo-modules-core/common/cpp/fabric/ExpoViewComponentDescriptor.h | |
@@ -2,7 +2,7 @@ | |
#pragma once | |
-#ifdef __cplusplus | |
+#if defined(__has_feature) && !__has_feature(objc_modules) |
This file contains hidden or 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
module.exports = function (api) { | |
api.cache(true); | |
return { | |
presets: [ | |
'babel-preset-expo', | |
], | |
plugins: [ | |
['@babel/plugin-transform-class-properties', { loose: true }], | |
['@babel/plugin-transform-private-methods', { loose: true }], | |
['@babel/plugin-transform-private-property-in-object', { loose: true }], |
This file contains hidden or 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
#!/usr/bin/bash | |
# Add react-native patches | |
mkdir -p patches | |
cat > patches/react-native+0.76.3.patch << EOF | |
diff --git a/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js | |
index 860118d..141978c 100644 | |
--- a/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js | |
+++ b/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js | |
@@ -95,7 +95,9 @@ class KeyboardAvoidingView extends React.Component<Props, State> { |
This file contains hidden or 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
diff --git a/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt b/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt | |
index e9a2f7a..fbf9aae 100644 | |
--- a/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt | |
+++ b/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt | |
@@ -14,10 +14,12 @@ import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load | |
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost | |
import com.facebook.react.defaults.DefaultReactNativeHost | |
import com.facebook.react.flipper.ReactNativeFlipper | |
+import com.facebook.react.modules.network.OkHttpClientProvider | |
import com.facebook.soloader.SoLoader |
This file contains hidden or 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
diff --git a/android/app/build.gradle b/android/app/build.gradle | |
index 8526646..fcb7627 100644 | |
--- a/android/app/build.gradle | |
+++ b/android/app/build.gradle | |
@@ -158,8 +158,6 @@ dependencies { | |
} | |
} | |
- implementation("com.facebook.react:flipper-integration") | |
- |
This file contains hidden or 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
#ifdef __OBJC__ | |
#import <UIKit/UIKit.h> | |
#else | |
#ifndef FOUNDATION_EXPORT | |
#if defined(__cplusplus) | |
#define FOUNDATION_EXPORT extern "C" | |
#else | |
#define FOUNDATION_EXPORT extern | |
#endif | |
#endif |
This file contains hidden or 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
diff --git a/example/app.json b/example/app.json | |
index b85d133..d0c1de7 100644 | |
--- a/example/app.json | |
+++ b/example/app.json | |
@@ -4,6 +4,6 @@ | |
"expo": { | |
"name": "StripeSdkExample", | |
"slug": "StripeSdkExample", | |
- "sdkVersion": "44.0.0" | |
+ "sdkVersion": "UNVERSIONED" |
This file contains hidden or 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
diff --git a/node_modules/expo/android/build.gradle b/node_modules/expo/android/build.gradle | |
index 256c791..d9ae352 100644 | |
--- a/node_modules/expo/android/build.gradle | |
+++ b/node_modules/expo/android/build.gradle | |
@@ -10,14 +10,13 @@ static def versionToNumber(major, minor, patch) { | |
} | |
def getRNVersion() { | |
- def nodeModulesVersion = [ | |
- "node", |
This file contains hidden or 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
diff --git a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm | |
index 172020a..d81354e 100644 | |
--- a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm | |
+++ b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm | |
@@ -163,20 +163,25 @@ using namespace facebook::react; | |
// View is completely outside the clipRect, so unmount it | |
[view removeFromSuperview]; | |
} | |
} | |
} |
This file contains hidden or 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
diff --git a/node_modules/expo-notifications/android/src/main/AndroidManifest.xml b/node_modules/expo-notifications/android/src/main/AndroidManifest.xml | |
index 2b2fa5e..411f832 100644 | |
--- a/node_modules/expo-notifications/android/src/main/AndroidManifest.xml | |
+++ b/node_modules/expo-notifications/android/src/main/AndroidManifest.xml | |
@@ -34,6 +34,7 @@ | |
android:excludeFromRecents="true" | |
android:noHistory="true" | |
android:launchMode="standard" | |
+ android:taskAffinity="" | |
/> |
NewerOlder