Created
October 21, 2020 22:20
-
-
Save melikeeroglu/00ffbd3707b7afd6502ec87a764a158e to your computer and use it in GitHub Desktop.
HmsAnalyticActivity
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.hms.hms_analytic_activity; | |
import android.os.Bundle; | |
import com.huawei.hms.analytics.HiAnalytics; | |
import com.huawei.hms.analytics.HiAnalyticsTools; | |
import com.unity3d.player.UnityPlayerActivity; | |
public class HmsAnalyticActivity extends UnityPlayerActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
HiAnalyticsTools.enableLog(); | |
HiAnalytics.getInstance(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment