-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Consolidate Android manifest #85
Comments
Some Unity guy said I was trying to modify all .gradle files inside Unity installation folder one by one and have found a possible solution:
This is a bad solution, but at least I was able to build, although it works only for ARMv7 and crashes on app start for ARM64. Also I wonder why modifying mainTemplate.gradle (generated inside your project after enabling |
This issue is stale because it has been open 14 days with no activity. It will be automatically closed in 7 days. |
@hippogamesunity I had to use that same workaround. Nothing else I tried got my Android build working on Unity 2021.3.3f1. |
Why is this closed if there isn't a fix in the plugin? There must be some other way to work around this in the package itself? |
The way of @hippogamesunity works. |
Same issue here, but I haven't enabled multidex on my project... |
@elringus This issue still exists and hippo's solution works. Closing issues simply because there was no activity for 2 weeks is not a great idea. |
@tatelax Feel free to send a PR to fix the issue, I'll review it. |
the 'culture' in this repo is to request a PR to fix the issue and then close the issue... very common these days unfortunately (github should really add this as a state) |
@AmitWhalo @Abbabon The issues are closed automatically when no activity is detected in a set period of time. It's not like I'm closing them manually. The 'culture' of many github users is, unfortunately, to treat open-source repos as a product they own and assume they're entitled for tech support just because they're using it. Please don't forget we're sharing the code and maintaining it just out of our good will. |
Nothing unfortunate about it in the slightest. This software is free in every sense of the word. Nobody is entitled to support from anybody. |
> > > Why is this closed if there isn't a fix in the plugin? There must be some other way to work around this in the package itself?
I'm sorry if I've touched an exposed nerve here - but the actual issue, as a bug in the software is not closed. The repo's state does not reflect the state of the said free software. |
I'm not even sure the issue is caused by the plugin. Looks like something android/unity-related. |
I'm only suggesting that just because an issue hasn't had replies for some period of time doesn't mean it's been resolved. Closing issues makes it harder for people to find solutions. The fix for this might just be updating the readme to mention that you need to modify a file in your editor install to resolve issues on Android. |
Expanding on @hippogamesunity's work around: To avoid editing the Unity installation's gradle files, you can also use a custom launcherTemplate.gradle in your project, and apply the change to it. Enable:
Then in your project's
This |
Because Unity Deep Linking was added in Unity 2021, while the plugin was initially released for Unity 5, and the current min. supported version (the one I'm personally using) is 2019. |
@amoffatt This solution worked in my case. Thanks a lot! |
Find a way to supply plugin-specific config for Android manifest (appAuthRedirectScheme), that would merge with user-supplied manifest/config
Hi! I had to enable multidex in my project (this article was used https://habr.com/ru/post/487336/), but still can't build on Android.
Manifest merger failed : Attribute data@scheme at AndroidManifest.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.
I was trying to find a solution on web, but with no luck. Adding
manifestPlaceholders = [appAuthRedirectScheme: 'com.redirectScheme.comm']
to mainTemplate.gradle doesn't help. At the same time, I can build my project with multidex enabled after removing UGD (but this is not an option for me actually).
Also I've found that some people also mentioned UGD related to appAuthRedirectScheme issue here:
https://forum.unity.com/threads/gradle-nightmare-appauthredirectscheme.831934/
Hope to find a solution soon...
The text was updated successfully, but these errors were encountered: