-
Notifications
You must be signed in to change notification settings - Fork 29
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
Expo SDK 50 & Android deep link fix #18
base: main
Are you sure you want to change the base?
Conversation
Can also confirm this PR fixes my android build issue on SDK 50. |
I have modified the android plugin to take the intent filters from the main activity, instead of just creating the main intent filter. This copies any custom url schemas and share intents into the new activity aliases. If any other plugins modify the main activity intent filters, we need to ensure that this plugin is listed FIRST in the plugins array. |
Closes #15 as well |
…user may want to use adaptive icons built into expo)
anyone know why this package dosent work on android anymore? Expo SDK 50, it works fine on iOS |
@outsung Please merge this |
can anyone help with how to add this into a project for EAS Build, whenn running eas build it grabs the package from NPM and as such the main package not this fork, how do I point it to this forked patch so I can build for android? |
Please do your own testing as I have modified a few things in this PR. I have added a new 'platforms' prop that can be provided in the config setup. I personally did not want Android support as I wanted to use adaptive icons instead. usage as follows:
|
please does this library now work properly for android? android build still fails for my app, using Expo SDK 50 |
Thank you, wasnt sure how to link it, will try this and test it myself and update, appreciate the switft reply and help |
are you building using my fork? I'm using expo 50.0.14 and android builds ok for me. if you're referring to the 'platform' prop I have added, this is optional if you only intend to use it for one platform, like myself.
np. hope it works |
thanks for the response, sorry i’m not sure what you mean by “building using my fork”, can you help shed more light? thanks |
until this PR is merged, in your package.json, use my fork as the source instead
|
This worked for a dev build, (whicH failed before) so im sure itll work for a prod build thanks so much |
when will this be merged?! |
it may not be and @outsung has no obligation to, the kindness of @simonsturge means its still usable, as they mentioned you can just use it in our project with this
|
I tried |
This will pin it to a specific commit, which is preferred given this isn't an npm package with proper semver. |
thanks for your comment, I updated my package.json with |
Hard to say without the full log. First try 'yarn cache clean' and try install again. Otherwise try deleting 'node_modules' and then 'yarn install' and 'npx pod-install'. If it keeps happening I'd search for the error on Google as it seems environment-specific. |
Tried to remove cache, node_modules and installed again, still get the same error. |
Unfortunately I don't have the bandwidth to troubleshoot this issue. However this issue seems related #21 |
@outsung It'd be great to get this merged. Completely blocked from using this lib on android due to the Java 11 dependency this introduces. |
@simonsturge im using this pr to be able to build android, i noticed that when ever i change the icon it ceate new lunch icon on device home screen, for IOS is correct, it happens for you this behaviour? |
this happened to me too, i ended up not using the library, probably when its more stable for android |
did you manage to get dynamic icons working on android via another solution? |
Not really, still have issue of duplicate icon |
expo-dynamic-app-icon-npm-1.2.0-66d634aad7.patch This yarn berry patch works for me |
seems like this is not working anymore i updated few things on package to make build possible on Android, and published to npm |
@kouloughli-hemza Thanks for your fork! On android the size doesn't fill up the entire screen (addressing this issue: #3) |
there few issues on Android that i plan to work on after vacation, such as Duplicate icon and this icon size. |
you can try https://www.npmjs.com/package/nixa-expo-dynamic-app-icon new version for android duplicate icon issue |
Updating android build.gradle to match one of a newly created module, which allows for building with Expo SDK 50.
I'm unsure if any other changes are required, however, I have tested in my own project using SDK 50, and I can confirm it works for me.