草庐IT

getCurrentInstallation

全部标签

android - ParseInstaller.getCurrentInstallation().saveInBackground() 正在卡住我的应用程序

我发现大约1/5的测试都卡住了,在搜索了一些问题后,我将问题缩小到以下范围:ParseInstallation.getCurrentInstallation().saveInBackground();我正在使用Parse1.5.1和Android4.4.2设备。我的应用程序类如下所示:publicclassInitApplicationextendsApplication{@OverridepublicvoidonCreate(){super.onCreate();Parse.initialize(this,"my_App_ID","my_Client_Key");PushServic

android - ParseInstallation.getCurrentInstallation().saveInBackground();不工作

我在iOS中创建了一个应用程序,它使用Parse来存储数据,还使用​​ParsePush在用户之间进行消息传递。我现在正在将应用程序转换为Android并尝试对两者使用相同的Parse后端。我正在成功上传/下载数据,我什至可以从Android用户向iOS用户发送消息,但我无法让我的Android设备接收消息。强调的问题似乎是我无法使安装工作。我正在从我的onCreate函数中调用这段代码:Parse.enableLocalDatastore(this);Parse.initialize(this,"id1","id2");ParsePush.subscribeInBackground(