photoviewer icon indicating copy to clipboard operation
photoviewer copied to clipboard

Error Android

Open maxhsantos opened this issue 5 years ago • 2 comments

Hey guys! I am using the plugin and was unable to open images, the app always closed. So I noticed that when installing the plugin, it didn't create an activity in the manifest that was needed. So I created it manually and it worked. I'm leaving here if anyone comes across this error as well.

Solution, In android manifest:

maxhsantos avatar Aug 29 '19 19:08 maxhsantos

activity android:name="com.sarriaroman.PhotoViewer.PhotoActivity"

maxhsantos avatar Aug 29 '19 19:08 maxhsantos

It should be added by the plugin. But you can solve this problem with the next code in your config.xml file:

<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">
    <activity android:name="com.sarriaroman.PhotoViewer.PhotoActivity" />
</config-file>

fermedina avatar Sep 30 '20 13:09 fermedina