Phonegap 2.3.0 and the ForegroundCamera plugin

两盒软妹~` 提交于 2019-12-04 12:37:57

See this commit to see what has changed in Cordova: https://github.com/apache/cordova-android/commit/205215d409c4f75e958a9c09c0b4a38bd9a859ac

Replace
this.success(new PluginResult(PluginResult.Status.OK, getRealPathFromURI(uri, this.ctx)), this.callbackId);
with
this.callbackContext.success(getRealPathFromURI(uri, cordova));.

Update the execute function as per that commit, and update takePicture.

After that I have the ForgroundCamera plugin working with Cordova 2.3. Going to do some more testing and clean up now.

We have just updated Foreground Camera Plugin to work with Phonegap 2.4.0 and we are working on Foreground Gallery Plugin too. Please see http://code.google.com/p/foreground-camera-plugin/ and http://code.google.com/p/foreground-gallery-plugin/, and let us know (post an issue) if you have any problem.

See ya!

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