I am having issue using this plugin on android. it crashes after it has gotten the contacts. It works fine on ios.
see my trace below
D/AndroidRuntime(11912): Shutting down VM
E/AndroidRuntime(11912): FATAL EXCEPTION: main
E/AndroidRuntime(11912): Process: com.appzonegroup.zone, PID: 11912
E/AndroidRuntime(11912): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(11912): at io.flutter.view.FlutterNativeView$1.reply(FlutterNativeView.java:146)
E/AndroidRuntime(11912): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:194)
E/AndroidRuntime(11912): at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.onPostExecute(ContactsServicePlugin.java:134)
E/AndroidRuntime(11912): at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.onPostExecute(ContactsServicePlugin.java:115)
E/AndroidRuntime(11912): at android.os.AsyncTask.finish(AsyncTask.java:667)
E/AndroidRuntime(11912): at android.os.AsyncTask.-wrap1(AsyncTask.java)
E/AndroidRuntime(11912): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
E/AndroidRuntime(11912): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(11912): at android.os.Looper.loop(Looper.java:154)
E/AndroidRuntime(11912): at android.app.ActivityThread.main(ActivityThread.java:6816)
E/AndroidRuntime(11912): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11912): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
E/AndroidRuntime(11912): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)
I am having issue using this plugin on android. it crashes after it has gotten the contacts. It works fine on ios.
see my trace below
D/AndroidRuntime(11912): Shutting down VM E/AndroidRuntime(11912): FATAL EXCEPTION: main E/AndroidRuntime(11912): Process: com.appzonegroup.zone, PID: 11912 E/AndroidRuntime(11912): java.lang.IllegalStateException: Reply already submitted E/AndroidRuntime(11912): at io.flutter.view.FlutterNativeView$1.reply(FlutterNativeView.java:146) E/AndroidRuntime(11912): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:194) E/AndroidRuntime(11912): at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.onPostExecute(ContactsServicePlugin.java:134) E/AndroidRuntime(11912): at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.onPostExecute(ContactsServicePlugin.java:115) E/AndroidRuntime(11912): at android.os.AsyncTask.finish(AsyncTask.java:667) E/AndroidRuntime(11912): at android.os.AsyncTask.-wrap1(AsyncTask.java) E/AndroidRuntime(11912): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684) E/AndroidRuntime(11912): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(11912): at android.os.Looper.loop(Looper.java:154) E/AndroidRuntime(11912): at android.app.ActivityThread.main(ActivityThread.java:6816) E/AndroidRuntime(11912): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(11912): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563) E/AndroidRuntime(11912): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)