parent
3811ec0d61
commit
1862517c0f
|
|
@ -35,7 +35,7 @@ namespace Guru
|
|||
private Dictionary<string, ProductInfo> _products;
|
||||
protected Dictionary<string, ProductInfo> Products => _products;
|
||||
|
||||
public bool IsInitialized => _storeController != null && _storeExtensionProvider != null;
|
||||
public bool IsInitialized => _storeController != null && _storeExtensionProvider != null && _model != null;
|
||||
|
||||
private ProductInfo _curProductInfo = null;
|
||||
private string _curProductCategory = "";
|
||||
|
|
@ -880,8 +880,11 @@ namespace Guru
|
|||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
public static void SetIsIAPUser(bool value = true)
|
||||
{
|
||||
if (Instance != null && Instance._model != null)
|
||||
{
|
||||
Instance._model.SetIsIapUser(value); // 用户属性
|
||||
}
|
||||
Analytics.SetUserProperty(Analytics.PropertyIsIAPUser, value ? "true" : "false");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue