forked from lnreader/lnreader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expo 55 upgrade #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Expo 55 upgrade #28
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
efa8935
init
CD-Z 4caf835
Change from react-native-dotenv to react-native-config as dotenv leaks
CD-Z 8c64465
upgrade debs
CD-Z d4797a1
upgrade mmkv
CD-Z 32150f4
fix db migration for new app builds
CD-Z f9b9943
update reanimated
CD-Z 5c44948
fix tests
CD-Z 7817a9a
fix lint
CD-Z 9f68441
cleanup
CD-Z File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,3 +93,4 @@ flake.lock | |
| .agents/ | ||
| .claude/ | ||
| .jj/ | ||
| .sisyphus/ | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
| <resources> | ||
| <string name="app_name">LNReader</string> | ||
| </resources> | ||
| </resources> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,41 +1,28 @@ | ||
| <?xml | ||
| version="1.0" | ||
| encoding="UTF-8" | ||
| standalone="yes" | ||
| ?> | ||
| <resources xmlns:tools="http://schemas.android.com/tools"> | ||
| <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
| <!-- Customize your theme here. --> | ||
| <style name="AppTheme" parent="Theme.EdgeToEdge"> | ||
| <item name="android:editTextBackground">@drawable/rn_edit_text_material</item> | ||
| <item name="colorPrimary">@color/colorPrimary</item> | ||
| <item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
| <item name="android:navigationBarColor">@color/colorPrimaryDark</item> | ||
| <item name="android:statusBarColor">@color/colorPrimaryDark</item> | ||
| <item name="colorControlActivated">#2596be</item> | ||
| <item name="android:windowLightStatusBar">true</item> | ||
| </style> | ||
|
|
||
| <style name="SplashScreen_SplashAnimation"> | ||
| <item name="android:windowExitAnimation">@android:anim/fade_out</item> | ||
| </style> | ||
|
|
||
| <style name="SplashScreen_SplashTheme" parent="Theme.AppCompat.NoActionBar"> | ||
| <item name="android:windowAnimationStyle">@style/SplashScreen_SplashAnimation</item> | ||
| </style> | ||
|
|
||
| <style name="SplashScreenTheme" parent="SplashScreen_SplashTheme"> | ||
| <item name="android:statusBarColor">@color/colorPrimaryDark</item> | ||
| <item name="android:windowActionBar">false</item> | ||
| <item name="android:windowNoTitle">true</item> | ||
| <item name="android:windowFullscreen">true</item> | ||
| <item name="android:navigationBarColor">@color/colorPrimaryDark</item> | ||
| </style> | ||
| </style> | ||
| <style name="Theme.App.SplashScreen" parent="AppTheme"> | ||
| <!-- Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually --> | ||
| <!-- Customize your splash screen theme here --> | ||
| <item name="android:windowSplashScreenBackground" tools:targetApi="s">@color/colorPrimaryDark</item> | ||
| <item name="android:windowSplashScreenAnimatedIcon" tools:targetApi="s" >@drawable/invisible</item> | ||
| <item name="android:windowSplashScreenAnimatedIcon" tools:targetApi="s">@drawable/invisible</item> | ||
| <item name="android:windowSplashScreenAnimationDuration" tools:targetApi="s">1000</item> | ||
| <!-- <item name="icon">@drawable/no_icon</item> --> | ||
| <item name="android:windowBackground">@drawable/splashscreen</item> | ||
| </style> | ||
| </resources> | ||
| </resources> |
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
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,35 @@ | ||
| pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } | ||
| plugins { id("com.facebook.react.settings") } | ||
| pluginManagement { | ||
| def reactNativeGradlePlugin = new File( | ||
| providers.exec { | ||
| workingDir(rootDir) | ||
| commandLine("node", "--print", "require.resolve('@react-native/gradle-plugin/package.json', { paths: [require.resolve('react-native/package.json')] })") | ||
| }.standardOutput.asText.get().trim() | ||
| ).getParentFile().absolutePath | ||
| includeBuild(reactNativeGradlePlugin) | ||
|
|
||
| extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } | ||
| rootProject.name = 'LNReader' | ||
| def expoPluginsPath = new File( | ||
| providers.exec { | ||
| workingDir(rootDir) | ||
| commandLine("node", "--print", "require.resolve('expo-modules-autolinking/package.json', { paths: [require.resolve('expo/package.json')] })") | ||
| }.standardOutput.asText.get().trim(), | ||
| "../android/expo-gradle-plugin" | ||
| ).absolutePath | ||
| includeBuild(expoPluginsPath) | ||
| } | ||
|
|
||
| include ':app' | ||
| includeBuild('../node_modules/@react-native/gradle-plugin') | ||
| plugins { | ||
| id("com.facebook.react.settings") | ||
| id("expo-autolinking-settings") | ||
| } | ||
|
|
||
| apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle") | ||
| useExpoModules() | ||
| extensions.configure(com.facebook.react.ReactSettingsExtension) { ex -> | ||
| ex.autolinkLibrariesFromCommand(expoAutolinking.rnConfigCommand) | ||
| } | ||
CD-Z marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| rootProject.name = "LNReader" | ||
|
|
||
| expoAutolinking.useExpoModules() | ||
| expoAutolinking.useExpoVersionCatalog() | ||
|
|
||
| include(":app") | ||
| includeBuild(expoAutolinking.reactNativeGradlePlugin) | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,8 @@ | ||
| // This file is required for Expo/React Native SQLite migrations - https://orm.drizzle.team/quick-sqlite/expo | ||
|
|
||
| import m0000 from './20251222152612_past_mandrill/migration.sql'; | ||
|
|
||
| export default { | ||
| journal: { entries: [] }, | ||
| migrations: { | ||
| '20251222152612_past_mandrill': m0000, | ||
| }, | ||
| }; | ||
| export default { | ||
| migrations: { | ||
| "20251222152612_past_mandrill": m0000 | ||
| } | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,12 @@ | ||
| declare module '@env' { | ||
| export const MYANIMELIST_CLIENT_ID: string; | ||
| export const ANILIST_CLIENT_ID: string; | ||
| export const GIT_HASH: string; | ||
| export const RELEASE_DATE: string; | ||
| export const BUILD_TYPE: 'Debug' | 'Release' | 'Beta' | 'Github Action'; | ||
| declare module 'react-native-config' { | ||
| export interface NativeConfig { | ||
| MYANIMELIST_CLIENT_ID: string; | ||
| ANILIST_CLIENT_ID: string; | ||
| GIT_HASH: string; | ||
| RELEASE_DATE: string; | ||
| BUILD_TYPE: 'Debug' | 'Release' | 'Beta' | 'Github Action'; | ||
| } | ||
|
|
||
| export const Config: NativeConfig; | ||
| export default Config; | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.