Skip to content

Commit

Permalink
Merge pull request gree#44 from KojiNakamaru/fix/readme_about_android…
Browse files Browse the repository at this point in the history
…_hardware_accel

added "Notes on Android" to the "Sample Project" section.
  • Loading branch information
KojiNakamaru committed Sep 2, 2015
2 parents 39d08af + c5806b1 commit 34fee08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ https://github.com/gree/unity-webview/issues/10
$ open sample/Assets/Sample.unity
$ open dist/unity-webview.unitypackage
Import all files

#### Notes on Adnroid

Once you built an apk, please copy `sample/Temp/StatingArea/AndroidManifest-main.xml` to `sample/Assets/Plugins/AndroidManifest.xml`, edit the latter to add `android:hardwareAccelerated="true"` to `<activity android:name="com.unity3d.player.UnityPlayerActivity" ...`, and rebuilt the apk. Although some old/buggy devices may not work well with `android:hardwareAccelerated="true"`, the webview runs very smoothly with this setting.

0 comments on commit 34fee08

Please sign in to comment.