You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/07/04 18:05:25 UTC

[GitHub] [cordova-plugin-camera] Mohammad-Toufiq-Pathan opened a new issue #744: App crash after allowing the camera permission

Mohammad-Toufiq-Pathan opened a new issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744


   Hi all, I am using Android 11  camera plugin 5.0.2, when I click on camera icon permission dialog will appear when I allow the permission app getting crash, this is happening only in release build, in debug build it's working fine, please help me out


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] dantheman2865 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
dantheman2865 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-895990707


   I am also experiencing the same problem on 5.0.3. Here are the exception logs from my Android App:
   
   ```
   2021-08-10 08:31:27.551 4303-4598/my.app.name V/Capacitor/Plugin: To native (Cordova plugin): callbackId: Camera770925669, service: Camera, action: takePicture, actionArgs: [100,0,1,-1,-1,0,0,false,false,false,null,0]
   2021-08-10 08:31:27.563 4303-4598/my.app.name W/System.err: java.lang.ClassNotFoundException: my.app.name.BuildConfig
   2021-08-10 08:31:27.657 4303-4598/my.app.name W/System.err:     at java.lang.Class.classForName(Native Method)
   2021-08-10 08:31:27.657 4303-4598/my.app.name W/System.err:     at java.lang.Class.forName(Class.java:454)
   2021-08-10 08:31:27.657 4303-4598/my.app.name W/System.err:     at java.lang.Class.forName(Class.java:379)
   2021-08-10 08:31:27.658 4303-4598/my.app.name W/System.err:     at org.apache.cordova.BuildHelper.getBuildConfigValue(BuildHelper.java:54)
   2021-08-10 08:31:27.659 4303-4598/my.app.name W/System.err:     at org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:149)
   2021-08-10 08:31:27.659 4303-4598/my.app.name W/System.err:     at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
   2021-08-10 08:31:27.660 4303-4598/my.app.name W/System.err:     at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
   2021-08-10 08:31:27.660 4303-4598/my.app.name W/System.err:     at com.getcapacitor.MessageHandler.callCordovaPluginMethod(MessageHandler.java:123)
   2021-08-10 08:31:27.661 4303-4598/my.app.name W/System.err:     at com.getcapacitor.MessageHandler.postMessage(MessageHandler.java:61)
   2021-08-10 08:31:27.661 4303-4598/my.app.name W/System.err:     at android.os.MessageQueue.nativePollOnce(Native Method)
   2021-08-10 08:31:27.662 4303-4598/my.app.name W/System.err:     at android.os.MessageQueue.next(MessageQueue.java:342)
   2021-08-10 08:31:27.662 4303-4598/my.app.name W/System.err:     at android.os.Looper.loop(Looper.java:197)
   2021-08-10 08:31:27.663 4303-4598/my.app.name W/System.err:     at android.os.HandlerThread.run(HandlerThread.java:67)
   2021-08-10 08:31:27.668 4303-4598/my.app.name W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "my.app.name.BuildConfig" on path: DexPathList[[zip file "/data/app/~~piXwCSu6z0GFSDKzF5J3MQ==/my.app.name-l6Kcd9m8pwVqzEmG13Ny-w==/base.apk"],nativeLibraryDirectories=[/data/app/~~piXwCSu6z0GFSDKzF5J3MQ==/my.app.name-l6Kcd9m8pwVqzEmG13Ny-w==/lib/arm64, /system/lib64, /system/system_ext/lib64, /product/lib64]]
   2021-08-10 08:31:27.669 4303-4598/my.app.name W/System.err:     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
   2021-08-10 08:31:27.669 4303-4598/my.app.name W/System.err:     at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
   2021-08-10 08:31:27.670 4303-4598/my.app.name W/System.err:     at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
   2021-08-10 08:31:27.670 4303-4598/my.app.name W/System.err: 	... 13 more
   2021-08-10 08:31:27.699 4303-4303/my.app.name D/Capacitor: App paused
   2021-08-10 08:31:29.968 4303-4303/my.app.name D/Capacitor: Unable to find a Capacitor plugin to handle permission requestCode, trying Cordova plugins 2
   2021-08-10 08:31:30.096 4303-4303/my.app.name D/AndroidRuntime: Shutting down VM
   2021-08-10 08:31:30.108 4303-4303/my.app.name E/AndroidRuntime: FATAL EXCEPTION: main
       Process: my.app.name, PID: 4303
       java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=2, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {my.app.name/io.ionic.starter.MainActivity}: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority null.cordova.plugin.camera.provider
           at android.app.ActivityThread.deliverResults(ActivityThread.java:5091)
           at android.app.ActivityThread.handleSendResult(ActivityThread.java:5132)
           at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
           at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
           at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2126)
           at android.os.Handler.dispatchMessage(Handler.java:106)
           at android.os.Looper.loop(Looper.java:250)
           at android.app.ActivityThread.main(ActivityThread.java:7766)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
        Caused by: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority null.cordova.plugin.camera.provider
           at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:606)
           at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:579)
           at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:417)
           at org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:297)
           at org.apache.cordova.camera.CameraLauncher.onRequestPermissionResult(CameraLauncher.java:1319)
           at com.getcapacitor.cordova.MockCordovaInterfaceImpl.handlePermissionResult(MockCordovaInterfaceImpl.java:32)
           at com.getcapacitor.Bridge.onRequestPermissionsResult(Bridge.java:847)
           at com.getcapacitor.BridgeActivity.onRequestPermissionsResult(BridgeActivity.java:188)
           at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8570)
           at android.app.Activity.dispatchActivityResult(Activity.java:8418)
           at android.app.ActivityThread.deliverResults(ActivityThread.java:5084)
           at android.app.ActivityThread.handleSendResult(ActivityThread.java:5132) 
           at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51) 
           at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 
           at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2126) 
           at android.os.Handler.dispatchMessage(Handler.java:106) 
           at android.os.Looper.loop(Looper.java:250) 
           at android.app.ActivityThread.main(ActivityThread.java:7766) 
           at java.lang.reflect.Method.invoke(Native Method) 
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) 
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Mohammad-Toufiq-Pathan commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Mohammad-Toufiq-Pathan commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-915837155


   Hi @martinbertinat didn't find any solution


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] thierry1129 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
thierry1129 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-926277134


   Sorry I know very little about Android development. I have a hunch that this might be caused by cordova-android. 
   when I used cordova-android 9 along with camera 5.0.1,  camera works fine for release builds on android api level 28. 
   but cordova-android 10.1.1 along with camera 5.0.1 causes the crash mentioned above on android api 28. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] sandeepwip commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
sandeepwip commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-1062968925


   @Jeffrey-Lang I tried your solution but same issue still facing the problem.Any suggession please.
   Sandeep 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] toufiqpathan edited a comment on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
toufiqpathan edited a comment on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-907093847


   @breautek Please let me know any alternate solution for this, in iOS its working fine, for android its giving problem only for release apk, i am using cordova android 9.0.0
   
   getting this error 
   2021-08-27 15:40:07.985 8845-8845/? E/AndroidRuntime: FATAL EXCEPTION: main
       Process: driverconnect.latitude247, PID: 8845
       java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=2, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {driverconnect.latitude247/driverconnect.latitude247.MainActivity}: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority null.cordova.plugin.camera.provider
           at android.app.ActivityThread.deliverResults(ActivityThread.java:5209)
           at android.app.ActivityThread.handleSendResult(ActivityThread.java:5250)
           at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
           at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
           at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2242)
           at android.os.Handler.dispatchMessage(Handler.java:106)
           at android.os.Looper.loop(Looper.java:245)
           at android.app.ActivityThread.main(ActivityThread.java:8004)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
        Caused by: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority null.cordova.plugin.camera.provider
           at androidx.core.a.b.parsePathStrategy(SourceFile:33)
           at androidx.core.a.b.getPathStrategy(SourceFile:3)
           at androidx.core.a.b.getUriForFile(SourceFile:1)
           at org.apache.cordova.camera.CameraLauncher.takePicture(SourceFile:5)
           at org.apache.cordova.camera.CameraLauncher.onRequestPermissionResult(SourceFile:4)
           at org.apache.cordova.CordovaInterfaceImpl.onRequestPermissionResult(SourceFile:2)
           at org.apache.cordova.CordovaActivity.onRequestPermissionsResult(SourceFile:1)
           at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8472)
           at android.app.Activity.dispatchActivityResult(Activity.java:8320)
           at android.app.ActivityThread.deliverResults(ActivityThread.java:5202)
           at android.app.ActivityThread.handleSendResult(ActivityThread.java:5250) 
           at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51) 
           at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 
           at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2242) 
           at android.os.Handler.dispatchMessage(Handler.java:106) 
           at android.os.Looper.loop(Looper.java:245) 
           at android.app.ActivityThread.main(ActivityThread.java:8004) 
           at java.lang.reflect.Method.invoke(Native Method) 
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631) 
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978) 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] biswas-houm removed a comment on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
biswas-houm removed a comment on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-963107719


   How can we rely on this  fix? we need something from the plugin author itself


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] thierry1129 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
thierry1129 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-926274695


   i encountered the identical problem as @Mohammad-Toufiq-Pathan  and @toufiqpathan . I'm using 6.0.0 for camera plugin and 10.1.1 for cordova-android. 
   
   camera works for debug builds, but when i switch the build type from debug to release in android studio, the app crashes showing the exact same log as @toufiqpathan . 
   
   any suggestions on a temporary workaround? @erisu @breautek  
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] toufiqpathan commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
toufiqpathan commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-907093847


   @breautek Please let me know any alternate solution for this, in iOS its working fine, for android its giving problem only for release apk, i am using cordova android 9.0.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Jeffrey-Lang commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Jeffrey-Lang commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-952908243


   @thierry1129 I already fixed it.
   
   in the file src/android/CameraLauncher.java
   
   Change:
   `this.applicationId = (String) BuildHelper.getBuildConfigValue(cordova.getActivity(), "APPLICATION_ID");`
   To:
   `this.applicationId = cordova.getContext().getPackageName();`
   
   That did the trick for me.
   Hope it will help someone else!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Mohammad-Toufiq-Pathan commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Mohammad-Toufiq-Pathan commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-926280281


   @thierry1129  I am using android 10.1.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] dantheman2865 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
dantheman2865 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-903380762


   I solved this by changing the package name in the AndroidManifest.xml file. It was still set to the default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] martinbertinat commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
martinbertinat commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-915174718


   Hi @toufiqpathan did you find a solution? I'm having a similar problem with Camera plugin and Android 11, "no image selected". Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Mohammad-Toufiq-Pathan commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Mohammad-Toufiq-Pathan commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-947373780


   @Jeffrey-Lang  add this in config file  <preference name="AndroidInsecureFileModeEnabled" value="true" />,
   hope this will helpful for you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Jeffrey-Lang commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Jeffrey-Lang commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-947380100


   @Mohammad-Toufiq-Pathan Thank you, but sadly that did not help the issue, getting the same issue.
   
   ` Caused by: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority null.cordova.plugin.camera.provider
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Jeffrey-Lang commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Jeffrey-Lang commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-947372549


   Having the same issue:
   
   Android : 10.1.1
   cordova-plugin-camera: 6.0.0
   
   I have tried renaming like @dantheman2865 said but that did not solve it.
   
   @dantheman2865 Do you have an example what you have changed to fix it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Jeffrey-Lang commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Jeffrey-Lang commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-1062984578


   @sandeepwip have you tried the fix that worked for @[dantheman2865](https://github.com/dantheman2865)
   
   What i know from working with this is that is all about which versions of plugins you use.
   So you might want to try to disable some plugins you have and check if it works then then one by one enable them to see which one it causes.
   
   It can also be your ionic / angular version


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] thierry1129 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
thierry1129 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-926278352


   @martinbertinat @Mohammad-Toufiq-Pathan @toufiqpathan guys which cordova-android version are you guys using


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] toufiqpathan commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
toufiqpathan commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-907091940


   @dantheman2865 No luck bro, still facing same problem. But in AndroidManifest.xml package name is correct, i cant see any difference in the package name


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] Mohammad-Toufiq-Pathan edited a comment on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
Mohammad-Toufiq-Pathan edited a comment on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-947373780


   @Jeffrey-Lang  add this in config file  `<preference name="AndroidInsecureFileModeEnabled" value="true" />`,
   hope this will helpful for you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] thierry1129 commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
thierry1129 commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-947965232


   @Jeffrey-Lang try disabling your proguard/ proguard plugin


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-camera] biswas-houm commented on issue #744: App crash after allowing the camera permission

Posted by GitBox <gi...@apache.org>.
biswas-houm commented on issue #744:
URL: https://github.com/apache/cordova-plugin-camera/issues/744#issuecomment-963107719


   How can we rely on this  fix? we need something from the plugin author itself


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org