You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2016/11/08 00:10:31 UTC

[03/12] cordova-plugin-camera git commit: Adding provider_paths.xml so this works

Adding provider_paths.xml so this works


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/b62fdf50
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/b62fdf50
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/b62fdf50

Branch: refs/heads/master
Commit: b62fdf50f7bd18ed5c4cb9ae72fb92908529fbfb
Parents: 744d72a
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Jul 29 13:33:51 2016 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Jul 29 13:33:51 2016 -0700

----------------------------------------------------------------------
 plugin.xml                         | 1 +
 src/android/xml/provider_paths.xml | 4 ++++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/b62fdf50/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 8db8220..f0460cc 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -84,6 +84,7 @@
         <source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />
         <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
         <source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
+        <source-file src="src/android/xml/provider_paths.xml" target-dir="res/xml/provider_paths.xml" />
 
         <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
             <clobbers target="CameraPopoverHandle" />

http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/b62fdf50/src/android/xml/provider_paths.xml
----------------------------------------------------------------------
diff --git a/src/android/xml/provider_paths.xml b/src/android/xml/provider_paths.xml
new file mode 100644
index 0000000..ffa74ab
--- /dev/null
+++ b/src/android/xml/provider_paths.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<paths xmlns:android="http://schemas.android.com/apk/res/android">
+    <external-path name="external_files" path="."/>
+</paths>
\ No newline at end of file


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