We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#if UNITY_IPHONE || UNITY_IOS if (GUILayout.Button("Trigger local notification after 3 seconds", GUILayout.Height(80))) { JsonData params = new JsonData(); params["title"] = "the title"; params["id"] = 5; params["content"] = "the content"; params["badge"] = 9; TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0); long ret = Convert.ToInt64(ts.TotalSeconds) + 3; params["fireTime"] = ret; params["subtitle"] = "the subtitle"; JPushBinding.SendLocalNotification(params.ToJson()); } #endif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#if UNITY_IPHONE || UNITY_IOS
if (GUILayout.Button("Trigger local notification after 3 seconds", GUILayout.Height(80)))
{
JsonData params = new JsonData();
params["title"] = "the title";
params["id"] = 5;
params["content"] = "the content";
params["badge"] = 9;
TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0);
long ret = Convert.ToInt64(ts.TotalSeconds) + 3;
params["fireTime"] = ret;
params["subtitle"] = "the subtitle";
JPushBinding.SendLocalNotification(params.ToJson());
}
#endif
The text was updated successfully, but these errors were encountered: