Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ buck-out/
.expo/
web-build/
dist/

# Expo
.expo
dist/
web-build/
22 changes: 12 additions & 10 deletions App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { NavigationContainer } from '@react-navigation/native';
import { AppRoutes } from './src/routes/app.routes'
import FlashMessage from 'react-native-flash-message';
import { StatusBar } from 'expo-status-bar';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import { View } from 'react-native';
import { GestureHandlerRootView } from 'react-native-gesture-handler';

SplashScreen.preventAutoHideAsync();

Expand All @@ -38,14 +38,16 @@ export default function App() {
}

return (
<View onLayout={onLayoutRootView} style={{ flex: 1 }}>
<ThemeProvider theme={theme}>
<NavigationContainer>
<AppRoutes/>
</NavigationContainer>
<FlashMessage position="top" />
<StatusBar style="light" translucent />
</ThemeProvider>
</View>
<GestureHandlerRootView style={{ flex: 1 }}>
<View onLayout={onLayoutRootView} style={{ flex: 1 }}>
<ThemeProvider theme={theme}>
<NavigationContainer>
<AppRoutes/>
</NavigationContainer>
<FlashMessage position="top" />
<StatusBar style="light" translucent />
</ThemeProvider>
</View>
</GestureHandlerRootView>
)
}
7 changes: 6 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ import org.apache.tools.ant.taskdefs.condition.Os
* // whether to bundle JS and assets in another build variant (if configured).
* // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
* // The configuration property can be in the following formats
* // 'bundleIn${productFlavor}${buildType}'
* // 'bundleIn${productFlavor //
// Added by install-expo-modules
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", rootDir.getAbsoluteFile().getParentFile().getAbsolutePath(), "android", "absolute"].execute(null, rootDir).text.trim())
cliFile = new File(["node", "--print", "require.resolve('@expo/cli')"].execute(null, rootDir).text.trim())
bundleCommand = "export:embed"
}${buildType}'
* // 'bundleIn${buildType}'
* // bundleInFreeDebug: true,
* // bundleInPaidRelease: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected List<ReactPackage> getPackages() {

@Override
protected String getJSMainModuleName() {
return "index";
return ".expo/.virtual-metro-entry";
}
});

Expand Down
10 changes: 9 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@
"slug": "continhas",
"version": "1.0.0",
"userInterfaceStyle": "automatic",
"web": {
"bundler": "metro"
},
"assetBundlePatterns": [
"**/*"
]
],
"extra": {
"eas": {
"projectId": "9ee56b44-7c36-4900-aa7b-88adb02664d0"
}
}
}
}
23 changes: 23 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"cli": {
"version": ">= 4.1.2"
},
"build": {
"development": {
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}
5 changes: 5 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,10 @@ target 'continhas' do
rescue => e
Pod::UI.warn e
end
begin
expo_patch_react_imports!(installer)
rescue => e
Pod::UI.warn e
end
end
end
Loading