|
|
|
@ -8,6 +8,7 @@ using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using OneSignalSDK;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using OneSignalSDK.Debug.Models;
|
|
|
|
|
|
|
|
|
|
public class GoogleSignInManager : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
@ -33,7 +34,9 @@ public class GoogleSignInManager : MonoBehaviour
|
|
|
|
|
#elif UNITY_IOS
|
|
|
|
|
ons_id = GameConstants.OSN_iOS;
|
|
|
|
|
#endif
|
|
|
|
|
OneSignal.Default.Initialize(ons_id);
|
|
|
|
|
Debug.Log($"Initializing with appId <b>{ons_id}</b>");
|
|
|
|
|
OneSignal.Debug.LogLevel = LogLevel.Debug;
|
|
|
|
|
OneSignal.Initialize(ons_id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Start()
|
|
|
|
|