Uh oh!
There was an error while loading. Please reload this page.
feat(android): populate home screen with AppRegistry entries - #1127
Merged
Conversation
This was referenced Sep 21, 2022
Tommy Nguyen (tido64)force-pushed
the
tido/android-app-registry
branch
6 times, most recently
from
September 22, 2022 11:11
4a6eb9f to
a22d262CompareTommy Nguyen (tido64)force-pushed
the
tido/android-app-registry
branch
5 times, most recently
from
September 23, 2022 16:37
a03e388 to
f5ebb75CompareContributor
There was a problem hiding this comment.
Tested:
❌ 0.64 (no libjsi.so)
- fails on
yarn androidwith errorreact-native-test-app/example/node_modules/react-native-test-app/android/app/src/main/java/com/microsoft/reacttestapp/react/TestAppReactNativeHost.kt: (181, 24): Unresolved reference: loadLibraryandExecution failed for task ':app:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details
- fails on
✅ 0.68 (has release libjsi.so)
✅🟡 0.69 (has debug/release libjsi.so) (but for some reason it just shows a blank page instead of the normal one with all the info, and just the version in the bottom right corner)
❌ 0.69 + new arch (uses ndkBuild, libjsi.so already linked)
- fails on
yarn androidwith errorreact-native-test-app/example/android/app/build/generated/rncli/src/main/jni/Android-rncli.mk: No such file or directoryandmake: *** No rule to make target '/Users/lsciandra/Developer/oss/react-native-test-app/example/android/app/build/generated/rncli/src/main/jni/Android-rncli.mk'. Stop.
- fails on
✅ 0.70 (has debug/release libjsi.so)
✅ 0.70 + new arch (uses cmake, libjsi.so already linked)
Tommy Nguyen (tido64)force-pushed
the
tido/android-qr-code-scanner
branch
from
October 4, 2022 17:14
370b72c to
5357a81CompareTommy Nguyen (tido64)force-pushed
the
tido/android-app-registry
branch
from
October 4, 2022 17:16
f5ebb75 to
4e34251CompareTommy Nguyen (tido64)
commented
Oct 4, 2022
MemberAuthor
Lorenzo Sciandra (kelset)
commented
Oct 6, 2022
Contributor
yeah, with the adjustments I managed to make it work for both 0.64 and both versions of 0.69 🎉 LGTM, when you want to open for review I can ✅ |
Tommy Nguyen (tido64)
marked this pull request as ready for review
October 6, 2022 15:47
Tommy Nguyen (tido64)
requested review from
Araz Abishov (arazabishov) and Sam Mathias Weggersen (sweggersen)
as code ownersOctober 6, 2022 15:47
Tommy Nguyen (tido64)force-pushed
the
tido/android-app-registry
branch
from
October 6, 2022 16:22
4e34251 to
20eb037CompareTommy Nguyen (tido64)
enabled auto-merge (squash)
October 6, 2022 16:35
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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Description
Similar to #482, but for Android.
Resolves#189.
Platforms affected
Test plan
See test plan in #482.
Flipper crashes on startup with this change. I'm not sure why, but downgrading it to 0.105 resolves the issue.TheSIGILLcomes from the device trying to load different.sofiles on startup, but the app should load fine. Bump to 0.164 to make it go away.This needs to be tested on:
libjsi.so, should show blank screen)libjsi.so)libjsi.so)ndkBuild,libjsi.soalready linked)libjsi.so)cmake,libjsi.soalready linked)Note that for new arch, you will need to force resolve rn-cli to 9.x for autolinking.