Unable to start receiver com.parse.ParseBroadcastReceiver on Trigger.io Android app

你说的曾经没有我的故事 提交于 2019-12-03 16:27:50

This issue was fixed in Forge v1.4.37, which included an update to the Parse Android SDK v1.2.3.

Recently I had this problem and nothing to do with Parse version. Issue was the initializing of Parse was done on Activity instead of Application. The Broadcast Receiver can start before the Activity and writing a custom Application class and initializing Parse in onCreate of that helps.

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        //Initialize Parse here
    }
}



<application
        android:name=".MyApplication"
...>
.
.
.
</application>

This problem is resolved in Forge v1.4.32: http://docs.trigger.io/en/v1.4/release-notes.html#v1-4-32

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!