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

How Merge multi activity for AndroidManifest,Result One Icon Not Multi Icon. #221

Open
howo opened this issue Jul 19, 2017 · 2 comments
Open

Comments

@howo
Copy link

howo commented Jul 19, 2017

<activity android:name="net.gree.unitywebview.CUnityPlayerActivity" android:label="@string/app_name" android:hardwareAccelerated="true">
  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>

<!--Phone Open Alum-->
<activity android:name="com.reignstudios.reignnative.ReignUnityActivity" android:launchMode="standard"  android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:hardwareAccelerated="true">
  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  <meta-data android:name="android.app.lib_name" android:value="unity" />
  <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>

Thanks

@KojiNakamaru
Copy link
Member

As noted in https://github.com/gree/unity-webview#android , you don't need to replace an Activity if you don't use Unity 5.6.0/5.6.1. If you really need to use them, please check #208 (comment) .

@howo
Copy link
Author

howo commented Jul 20, 2017

im try 5.5.2 it working thanks
but 5.6.1 understand how to doing

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

No branches or pull requests

2 participants