forked from sarriaroman/photoviewer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
82 lines (68 loc) · 4.79 KB
/
plugin.xml
File metadata and controls
82 lines (68 loc) · 4.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version='1.0' encoding='utf-8' ?>
<plugin id="cordova-plugin-ryver-photoviewer" version="1.2.4" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>PhotoViewer</name>
<description>This plugin is intended to show a picture from an URL into a Photo Viewer with zoom features.</description>
<js-module name="PhotoViewer" src="www/PhotoViewer.js">
<clobbers target="PhotoViewer" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="PhotoViewer">
<param name="android-package" value="com.ryver.plugins.photoviewer.PhotoViewer" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="com.ryver.plugins.photoviewer.PhotoActivity" android:theme="@style/Theme.AppCompat.NoActionBar" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<provider
android:name="com.ryver.plugins.photoviewer.PhotoFileProvider"
android:authorities="com.ryver.plugins.photoviewer.provider"
android:exported="false"
android:grantUriPermissions="true"
>
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/photoviewer_paths"
/>
</provider>
</config-file>
<source-file src="src/android/PhotoViewer.java" target-dir="src/com/ryver/plugins/photoviewer" />
<source-file src="src/android/PhotoActivity.java" target-dir="src/com/ryver/plugins/photoviewer" />
<source-file src="src/android/BitmapTransform.java" target-dir="src/com/ryver/plugins/photoviewer" />
<source-file src="src/android/res/layout/photoviewer_photo.xml" target-dir="res/layout" />
<source-file src="src/android/res/xml/photoviewer_paths.xml" target-dir="res/xml" />
<resource-file src="src/android/res/drawable-hdpi/ic_file_download_white.png" target="res/drawable-hdpi/ic_file_download_white.png" />
<resource-file src="src/android/res/drawable-hdpi/ic_link_white.png" target="res/drawable-hdpi/ic_link_white.png" />
<resource-file src="src/android/res/drawable-hdpi/ic_share_white.png" target="res/drawable-hdpi/ic_share_white.png" />
<resource-file src="src/android/res/drawable-mdpi/ic_file_download_white.png" target="res/drawable-mdpi/ic_file_download_white.png" />
<resource-file src="src/android/res/drawable-mdpi/ic_link_white.png" target="res/drawable-mdpi/ic_link_white.png" />
<resource-file src="src/android/res/drawable-mdpi/ic_share_white.png" target="res/drawable-mdpi/ic_share_white.png" />
<resource-file src="src/android/res/drawable-xhdpi/ic_file_download_white.png" target="res/drawable-xhdpi/ic_file_download_white.png" />
<resource-file src="src/android/res/drawable-xhdpi/ic_link_white.png" target="res/drawable-xhdpi/ic_link_white.png" />
<resource-file src="src/android/res/drawable-xhdpi/ic_share_white.png" target="res/drawable-xhdpi/ic_share_white.png" />
<resource-file src="src/android/res/drawable-xxhdpi/ic_file_download_white.png" target="res/drawable-xxhdpi/ic_file_download_white.png" />
<resource-file src="src/android/res/drawable-xxhdpi/ic_link_white.png" target="res/drawable-xxhdpi/ic_link_white.png" />
<resource-file src="src/android/res/drawable-xxhdpi/ic_share_white.png" target="res/drawable-xxhdpi/ic_share_white.png" />
<resource-file src="src/android/res/drawable-xxxhdpi/ic_file_download_white.png" target="res/drawable-xxxhdpi/ic_file_download_white.png" />
<resource-file src="src/android/res/drawable-xxxhdpi/ic_link_white.png" target="res/drawable-xxxhdpi/ic_link_white.png" />
<resource-file src="src/android/res/drawable-xxxhdpi/ic_share_white.png" target="res/drawable-xxxhdpi/ic_share_white.png" />
<framework src="com.android.support:support-v4:27+"/>
<framework src="com.android.support:appcompat-v7:27+"/>
<framework src="src/android/photoviewer.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="PhotoViewer">
<param name="ios-package" value="PhotoViewer" />
</feature>
</config-file>
<header-file src="src/ios/PhotoViewer.h" />
<source-file src="src/ios/PhotoViewer.m" />
</platform>
</plugin>