Skip to content
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

Update README.md #1119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update README.md #1119

wants to merge 1 commit into from

Conversation

Volko61
Copy link
Contributor

@Volko61 Volko61 commented Dec 4, 2024

A little more explanations about how to use the webview

Since `Assets/Plugins/src` is deprecated in recent Unity versions, we switched to .aar files (Android Archive Library).
If you need to edit some AndroidManifest.xml files :
1. Opening the `plugin`folder of this repo in Android Studio
2. Make somes changes (most of the time edit the `plugin/Android/webview/src/main/AndroidManifest.xml`).
3. Build the app
4. You will see your aar file in `build/outputs/aar/`
5. Move this file to `Assets/Plugins/Android/`
#### How does it work ?
It works on Android by calling a new android activity which implements a webview. We pass arguments from Unity to this activity to control it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this part describe? The current implementation doesn't utilize any special activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants