Created
September 2, 2020 09:52
-
-
Save DVDPT/a8cadb1f658be28e552f2ccd0bba3291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.imaginationoverflow.unity; | |
import android.content.Intent; | |
// | |
// Used to workaround a Firebase known bug for Android (https://github.com/firebase/quickstart-unity/issues/661) | |
// where the Universal Deep Linking can't get access to the Intent when Firebase is enabled | |
// | |
// | |
// Universal Deep Linking on the Asset Store: https://assetstore.unity.com/packages/slug/125172?aid=1100l8RBa | |
// Universal Deep Linking Pro on the Asset Store: https://assetstore.unity.com/packages/slug/135654?aid=1100l8RBa | |
// | |
public class IOFirebaseActivity extends com.google.firebase.MessagingUnityPlayerActivity { | |
@Override | |
protected void onNewIntent(Intent intent) | |
{ | |
this.setIntent(intent); | |
super.onNewIntent(intent); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment