void function ( int arg0 ) { activityResultRequestCode = arg0 ; }
call this from your startactivityforresult overload . this is required to catch the case where plugins use activity.startactivityforresult + cordovainterface.setactivityresultcallback rather than cordovainterface.startactivityforresult . concode_field_sep String TAG concode_elem_sep PluginManager pluginManager concode_elem_sep Activity activity concode_elem_sep CordovaPlugin activityResultCallback concode_elem_sep String initCallbackService concode_elem_sep ActivityResultHolder savedResult concode_elem_sep int resultCode concode_elem_sep int requestCode concode_elem_sep ExecutorService threadPool concode_elem_sep int activityResultRequestCode concode_elem_sep Intent intent concode_field_sep ExecutorService getThreadPool concode_elem_sep void restoreInstanceState concode_elem_sep void startActivityForResult concode_elem_sep void onCordovaInit concode_elem_sep Activity getActivity concode_elem_sep void setActivityResultCallback concode_elem_sep Object onMessage concode_elem_sep void onSaveInstanceState concode_elem_sep boolean onActivityResult