<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
        id="cordova-camera-draw"
        version="4.1.0-dev">
    <name>Camera</name>
    <description>Cordova Camera Plugin</description>
    <license>Apache 2.0</license>
    <keywords>cordova,camera</keywords>
    <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git</repo>
    <issue>https://issues.apache.org/jira/browse/CB/component/12320645</issue>

    <engines>
        <engine name="cordova" version=">=7.1.0"/>
        <engine name="cordova-android" version=">=6.3.0"/>
    </engines>

    <js-module src="www/CameraConstants.js" name="Camera">
        <clobbers target="Camera"/>
    </js-module>

    <js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
        <clobbers target="CameraPopoverOptions"/>
    </js-module>


    <js-module src="www/Camera.js" name="camera">
        <clobbers target="navigator.camera"/>
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
		    <feature name="EditImageTool">
                <param name="android-package" value="com.nimble.androidnative.EditImagePlugin"/>
            </feature>
            <feature name="Camera">
                <param name="android-package" value="org.apache.cordova.camera.CameraLauncher"/>
            </feature>
            <feature name="Update">
                <param name="android-package" value="com.nimble.androidnative.UpdatePlugin"/>
            </feature>
			            <feature name="GetImage">
                <param name="android-package" value="com.nimble.androidnative.GetImagePlugin"/>
            </feature>
        </config-file>
        <config-file target="AndroidManifest.xml" parent="/*">
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
            <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
            <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
            <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
            <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
        </config-file>
        <config-file target="AndroidManifest.xml" parent="application">
            <provider
                    android:name="org.apache.cordova.camera.FileProvider"
                    android:authorities="${applicationId}.provider"
                    android:exported="false"
                    android:grantUriPermissions="true">
                <meta-data
                        android:name="android.support.FILE_PROVIDER_PATHS"
                        android:resource="@xml/camera_provider_paths"/>
            </provider>
            <provider
                    android:name="android.support.v4.content.FileProvider"
                    android:authorities="${applicationId}.provider"
                    android:exported="false"
                    android:grantUriPermissions="true">
                <meta-data
                        android:name="android.support.FILE_PROVIDER_PATHS"
                        android:resource="@xml/file_paths"/>
            </provider>
        </config-file>
        <config-file target="AndroidManifest.xml" parent="application">
            <!-- <activity
                    android:name="com.nimble.androidnative.EditImageActivity"
                    android:screenOrientation="portrait"
                    android:theme="@style/Theme.AppCompat.NoActionBar"/> -->
			<activity
					android:name="me.kareluo.imaging.IMGEditActivity"
					android:screenOrientation="portrait"
					android:theme="@style/Theme.AppCompat.NoActionBar"/>
            <activity 
                    android:name="com.nimble.androidnative.customcamera.Camera3Activity"
                    android:theme="@style/Theme.AppCompat.NoActionBar"
                    android:exported="false"
                    android:screenOrientation="portrait" />        
        </config-file>

        <source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera"/>
        <source-file src="src/android/CordovaUri.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/FileProvider.java" target-dir="src/org/apache/cordova/camera"/>
        <source-file src="src/android/xml/camera_provider_paths.xml" target-dir="res/xml"/>
        <!-- android修改部分  -->
        <source-file src="src/android/UpdateUtils.java" target-dir="src/com/nimble/androidnative"/>
        <!-- <source-file src="src/android/EditImageActivity.java" target-dir="src/com/nimble/androidnative"/> -->
        <source-file src="src/android/BaseActivity.java" target-dir="src/com/nimble/androidnative"/>
        <source-file src="src/android/TextEditorDialogFragment.java" target-dir="src/com/nimble/androidnative"/>
        <source-file src="src/android/UpdatePlugin.java" target-dir="src/com/nimble/androidnative"/>
		<source-file src="src/android/GetImagePlugin.java" target-dir="src/com/nimble/androidnative"/>
		<source-file src="src/android/FileUtils.java" target-dir="src/com/nimble/androidnative"/>
		<source-file src="src/android/Utils.java" target-dir="src/com/nimble/androidnative"/>
		<source-file src="src/android/EditImagePlugin.java" target-dir="src/com/nimble/androidnative"/>
		
		<source-file src="src/android/me/kareluo/imaging/IMG.java" target-dir="src/me/kareluo/imaging"/>
		<source-file src="src/android/me/kareluo/imaging/IMGEditActivity.java" target-dir="src/me/kareluo/imaging"/>
		<source-file src="src/android/me/kareluo/imaging/IMGEditBaseActivity.java" target-dir="src/me/kareluo/imaging"/>
		<source-file src="src/android/me/kareluo/imaging/IMGGalleryActivity.java" target-dir="src/me/kareluo/imaging"/>
		<source-file src="src/android/me/kareluo/imaging/IMGTextEditDialog.java" target-dir="src/me/kareluo/imaging"/>

		<source-file src="src/android/me/kareluo/imaging/core/IMGImage.java" target-dir="src/me/kareluo/imaging/core"/>
		<source-file src="src/android/me/kareluo/imaging/core/IMGMode.java" target-dir="src/me/kareluo/imaging/core"/>
		<source-file src="src/android/me/kareluo/imaging/core/IMGPath.java" target-dir="src/me/kareluo/imaging/core"/>
		<source-file src="src/android/me/kareluo/imaging/core/IMGText.java" target-dir="src/me/kareluo/imaging/core"/>
		<source-file src="src/android/me/kareluo/imaging/core/IMGViewPortrait.java" target-dir="src/me/kareluo/imaging/core"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/anim/IMGHomingAnimator.java" target-dir="src/me/kareluo/imaging/core/anim"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/clip/IMGClip.java" target-dir="src/me/kareluo/imaging/core/clip"/>
		<source-file src="src/android/me/kareluo/imaging/core/clip/IMGClipWindow.java" target-dir="src/me/kareluo/imaging/core/clip"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/elastic/IMGElastic.java" target-dir="src/me/kareluo/imaging/core/elastic"/>
		<source-file src="src/android/me/kareluo/imaging/core/elastic/IMGElasticAnimator.java" target-dir="src/me/kareluo/imaging/core/elastic"/>
		<source-file src="src/android/me/kareluo/imaging/core/elastic/IMGPointFEvaluator.java" target-dir="src/me/kareluo/imaging/core/elastic"/>
		<source-file src="src/android/me/kareluo/imaging/core/elastic/IMGRectFEvaluator.java" target-dir="src/me/kareluo/imaging/core/elastic"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/file/IMGAssetFileDecoder.java" target-dir="src/me/kareluo/imaging/core/file"/>
		<source-file src="src/android/me/kareluo/imaging/core/file/IMGDecoder.java" target-dir="src/me/kareluo/imaging/core/file"/>
		<source-file src="src/android/me/kareluo/imaging/core/file/IMGFileDecoder.java" target-dir="src/me/kareluo/imaging/core/file"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/homing/IMGHoming.java" target-dir="src/me/kareluo/imaging/core/homing"/>
		<source-file src="src/android/me/kareluo/imaging/core/homing/IMGHomingEvaluator.java" target-dir="src/me/kareluo/imaging/core/homing"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGSticker.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerAdjustHelper.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerHelper.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerMoveHelper.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerPortrait.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerTouchHelper.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		<source-file src="src/android/me/kareluo/imaging/core/sticker/IMGStickerX.java" target-dir="src/me/kareluo/imaging/core/sticker"/>
		
		<source-file src="src/android/me/kareluo/imaging/core/util/IMGUtils.java" target-dir="src/me/kareluo/imaging/core/util"/>
		
		<source-file src="src/android/me/kareluo/imaging/gallery/IMGGalleryMenuWindow.java" target-dir="src/me/kareluo/imaging/gallery"/>
		<source-file src="src/android/me/kareluo/imaging/gallery/IMGScanner.java" target-dir="src/me/kareluo/imaging/gallery"/>
		<source-file src="src/android/me/kareluo/imaging/gallery/IMGScanTask.java" target-dir="src/me/kareluo/imaging/gallery"/>
		
		<source-file src="src/android/me/kareluo/imaging/gallery/model/IMGChooseMode.java" target-dir="src/me/kareluo/imaging/gallery/model"/>
		<source-file src="src/android/me/kareluo/imaging/gallery/model/IMGImageInfo.java" target-dir="src/me/kareluo/imaging/gallery/model"/>
		<source-file src="src/android/me/kareluo/imaging/gallery/model/IMGImageViewModel.java" target-dir="src/me/kareluo/imaging/gallery/model"/>
		
		<source-file src="src/android/me/kareluo/imaging/view/IMGColorGroup.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGColorRadio.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGStickerContainer.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGStickerImageView.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGStickerTextView.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGStickerView.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGStickerXText.java" target-dir="src/me/kareluo/imaging/view"/>
		<source-file src="src/android/me/kareluo/imaging/view/IMGView.java" target-dir="src/me/kareluo/imaging/view"/>
		
		<source-file src="src/android/me/kareluo/imaging/widget/IMGGalleryHolderCallback.java" target-dir="src/me/kareluo/imaging/widget"/>
		<source-file src="src/android/me/kareluo/imaging/widget/IMGViewHolderCallback.java" target-dir="src/me/kareluo/imaging/widget"/>
		
		<source-file src="src/android/anim/image_dialog_enter.xml" target-dir="res/anim"/>
		<source-file src="src/android/anim/image_dialog_exit.xml" target-dir="res/anim"/>
		<source-file src="src/android/anim/image_fade_in.xml" target-dir="res/anim"/>
		<source-file src="src/android/anim/image_fade_out.xml" target-dir="res/anim"/>
		<source-file src="src/android/anim/image_pop_in.xml" target-dir="res/anim"/>
		
		<source-file src="src/android/color/image_color_text.xml" target-dir="res/color"/>
		
		<source-file src="src/android/layout/add_text_dialog.xml" target-dir="res/layout"/>
        <source-file src="src/android/layout/mark_for_image.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/activity_edit_image.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_color_layout.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_edit_activity.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_edit_clip_layout.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_edit_opt_layout.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_gallery_activity.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_layout_gallery_menu_item.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_layout_gallery_pop.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_layout_image.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_layout_water_mark.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/image_text_dialog.xml" target-dir="res/layout"/>
		<source-file src="src/android/layout/activity_camera_3.xml" target-dir="res/layout"/>
		
		<source-file src="src/android/drawable/line_color_1.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/line_color_2.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/line_color_3.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/line_color_4.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/line_unselected.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/text_color_1.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/text_color_2.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/text_color_3.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/text_color_4.png" target-dir="res/drawable"/>
        <source-file src="src/android/drawable/text_unselected.png" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_bg_bottom.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_bg_top.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_cancel.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_clip.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_doodle.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_mosaic.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_ok.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_rotate.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_text.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/image_btn_undo.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/ic_camera.xml" target-dir="res/drawable"/>
		<source-file src="src/android/drawable/icon_back.xml" target-dir="res/drawable"/>
		
		<source-file src="src/android/mipmap-xhdpi/ic_launcher_round.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_adjust.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_cancel.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_cancel_pressed.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_clip.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_clip_checked.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_delete.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_doodle.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_doodle_checked.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_mosaic.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_mosaic_checked.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_ok.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_ok_pressed.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_rotate.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_rotate_pressed.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_text.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_text_checked.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_undo.png" target-dir="res/mipmap-xhdpi"/>
		<source-file src="src/android/mipmap-xhdpi/image_ic_undo_disable.png" target-dir="res/mipmap-xhdpi"/>

		<source-file src="src/android/drawable-xhdpi/icon_camera_on.png" target-dir="res/drawable-xhdpi"/>
		<source-file src="src/android/drawable-xhdpi/icon_camera_off.png" target-dir="res/drawable-xhdpi"/>

		<source-file src="src/android/customcamera/Camera3Activity.java" target-dir="src/com/nimble/androidnative/customcamera"/>
		<source-file src="src/android/customcamera/DesignUtils.java" target-dir="src/com/nimble/androidnative/customcamera"/>
		<source-file src="src/android/customcamera/VerticalSeekBar.java" target-dir="src/com/nimble/androidnative/customcamera"/>
		
		<source-file src="src/android/menu/image_menu_gallery.xml" target-dir="res/menu"/> 
		
        <source-file src="src/android/xml/file_paths.xml" target-dir="res/xml"/>  

        <source-file src="src/android/values/colors.xml" target-dir="res/values"/>
		<source-file src="src/android/values/image_attrs.xml" target-dir="res/values"/>
		<source-file src="src/android/values/image_colors.xml" target-dir="res/values"/>
		<source-file src="src/android/values/image_dimens.xml" target-dir="res/values"/>
		<source-file src="src/android/values/image_strings.xml" target-dir="res/values"/>
		<source-file src="src/android/values/image_styles.xml" target-dir="res/values"/>

        <framework src="ja.burhanrashid52:photoeditor:0.3.3"/>
        <framework src="com.android.support:appcompat-v7:27.1.1"/>
        <framework src="com.android.support:exifinterface:27.1.1"/>
        <framework src="com.zhy:okhttputils:2.3.8"/>
        <framework src="com.squareup.okhttp3:okhttp:3.8.0"/>
        <framework src="com.afollestad.material-dialogs:core:0.9.0.0"/>
        <framework src="com.afollestad.material-dialogs:commons:0.9.0.0"/>
        <framework src="com.mylhyl:acp:1.1.7"/>
		<framework src="com.facebook.fresco:fresco:1.7.1"/>
		<framework src="com.otaliastudios:cameraview:1.6.1"/>
        <!-- android修改部分  -->

        <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
            <clobbers target="CameraPopoverHandle"/>
        </js-module>

        <preference name="ANDROID_SUPPORT_V4_VERSION" default="27.+"/>
        <framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION"/>

    </platform>

    <!-- ios -->
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="EditImageTool">
                <param name="ios-package" value="CDVEditImageTool"/>
            </feature>
            <feature name="Camera">
                <param name="ios-package" value="CDVCamera"/>
            </feature>
            <preference name="CameraUsesGeolocation" value="false"/>
        </config-file>

        <js-module src="www/ios/CameraPopoverHandle.js" name="CameraPopoverHandle">
            <clobbers target="CameraPopoverHandle"/>
        </js-module>

        <resource-file src="src/ios/LFMediaEditingController/common/LFMediaEditingController.bundle"/>
        <header-file src="src/ios/UIImage+CropScaleOrientation.h"/>
        <source-file src="src/ios/UIImage+CropScaleOrientation.m"/>
        <header-file src="src/ios/CDVCamera.h"/>
        <source-file src="src/ios/CDVCamera.m"/>
        <header-file src="src/ios/CDVEditImageTool.h"/>
        <source-file src="src/ios/CDVEditImageTool.m"/>
        <header-file src="src/ios/CDVJpegHeaderWriter.h"/>
        <source-file src="src/ios/CDVJpegHeaderWriter.m"/>
        <header-file src="src/ios/CDVExif.h"/>
        <header-file src="src/ios/KJLocationTool/TCLocation.h"/>
        <source-file src="src/ios/KJLocationTool/TCLocation.m"/>        
        <header-file src="src/ios/KJLocationTool/TCLocationTool.h"/>
        <source-file src="src/ios/KJLocationTool/TCLocationTool.m"/>

        <header-file src="src/ios/LFMediaEditingController/LFBaseEditingController.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFBaseEditingController.m"/>

        <header-file src="src/ios/LFMediaEditingController/common/category/AVAsset+LFMECommon.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/AVAsset+LFMECommon.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/NSBundle+LFMediaEditing.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/NSBundle+LFMediaEditing.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/NSString+LFMECoreText.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/NSString+LFMECoreText.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/UIDevice+LFMEOrientation.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/UIDevice+LFMEOrientation.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/UIImage+LFMECommon.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/UIImage+LFMECommon.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/UIView+LFMECommon.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/UIView+LFMECommon.m"/>        
        <header-file src="src/ios/LFMediaEditingController/common/category/UIView+LFMEFrame.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/category/UIView+LFMEFrame.m"/>

        <header-file src="src/ios/LFMediaEditingController/common/define/LFEditingProtocol.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/define/LFMediaEditingHeader.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/define/LFMediaEditingType.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/define/LFPhotoEditDelegate.h"/>

        <source-file src="src/ios/LFMediaEditingController/common/utils/CancelBlock/LFMECancelBlock.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/utils/CancelBlock/LFMECancelBlock.m"/>
        <source-file src="src/ios/LFMediaEditingController/common/utils/FilterSuiteUtils/FilterSuiteUtils.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/utils/FilterSuiteUtils/FilterSuiteUtils.m"/>

        <source-file src="src/ios/LFMediaEditingController/common/view/LFScrollView.h"/>
        <source-file src="src/ios/LFMediaEditingController/common/view/LFScrollView.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/controller/LFPhotoEditingController.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/controller/LFPhotoEditingController.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/model/LFPhotoEdit.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/model/LFPhotoEdit.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/utils/GIFUtils/LFMEGIFImageSerialization.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/utils/GIFUtils/LFMEGIFImageSerialization.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/model/LFText.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/model/LFText.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridLayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridLayer.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridMaskLayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridMaskLayer.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFGridView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFResizeControl.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/clipping/LFResizeControl.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/splash/LFMaskLayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/splash/LFMaskLayer.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/splash/LFSplashLayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/splash/LFSplashLayer.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/sticker/LFMovingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/sticker/LFMovingView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/sticker/LFStickerLabel.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/other/sticker/LFStickerLabel.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFDataFilterImageView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFDataFilterImageView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFDrawView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFDrawView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFFilterView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFFilterView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFSplashView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFSplashView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFStickerView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/subView/LFStickerView.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFClipToolbar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFClipToolbar.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFEditCollectionView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFEditCollectionView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFEditToolbar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFEditToolbar.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFStickerBar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFStickerBar.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFTextBar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/toolBar/LFTextBar.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFClippingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFClippingView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFEditingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFEditingView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFZoomingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFPhotoEditingController/view/LFZoomingView.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/controller/LFVideoEditingController.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/controller/LFVideoEditingController.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/model/LFVideoEdit.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/model/LFVideoEdit.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/utils/LFVideoPlayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/utils/LFVideoPlayer.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFDataFilterVideoView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFDataFilterVideoView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerGridLayer.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerGridLayer.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerGridView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerGridView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/subview/LFVideoTrimmerView.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/toolBar/LFAudioTrackBar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/toolBar/LFAudioTrackBar.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/toolBar/LFVideoClipToolbar.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/toolBar/LFVideoClipToolbar.m"/>

        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoClippingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoClippingView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoEditingView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoEditingView.m"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoPlayerLayerView.h"/>
        <source-file src="src/ios/LFMediaEditingController/LFVideoEditingController/view/LFVideoPlayerLayerView.m"/>

        <source-file src="src/ios/LFMediaEditingController/vendors/ColorMatrix/LFColorMatrix.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/ColorMatrix/LFColorMatrixType.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/ColorMatrix/LFColorMatrixType.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/ColorMatrix/LFImageUtil.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/ColorMatrix/LFImageUtil.m"/>

        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/Cell/JRFilterBarCell.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/Cell/JRFilterBarCell.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/Model/JRFilterModel.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/Model/JRFilterModel.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/JRFilterBar.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRFilterBar/JRFilterBar.m"/>

        <source-file src="src/ios/LFMediaEditingController/vendors/JRPickColorView/JRPickColorView.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/JRPickColorView/JRPickColorView.m"/>

        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFExportSession/LFVideoExportSession.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFExportSession/LFVideoExportSession.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter+Initialize.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter+save.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter+save.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter+UIImage.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter+UIImage.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFFilter.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFMutableFilter+Initialize.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFMutableFilter.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilter/LFMutableFilter.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFContext.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFContext.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFContextImageView+private.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFContextImageView.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFContextImageView.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterGifView.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterGifView.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterImageView.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterImageView.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterVideoView.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterDisplayers/LFFilterVideoView.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterUtils/LFSampleBufferHolder.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterUtils/LFSampleBufferHolder.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterUtils/LFWeakSelectorTarget.h"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterUtils/LFWeakSelectorTarget.m"/>
        <source-file src="src/ios/LFMediaEditingController/vendors/LFFilterSuite/LFFilterSuiteHeader.h"/>
        <resource-file src="src/ios/res/photograph_Select@2x.png" />
        <resource-file src="src/ios/res/photograph_Select@3x.png" />
        <resource-file src="src/ios/res/photograph@2x.png" />
        <resource-file src="src/ios/res/photograph@3x.png" />

        <framework src="ImageIO.framework" weak="true"/>
        <framework src="CoreLocation.framework"/>
        <framework src="CoreGraphics.framework"/>
        <framework src="AssetsLibrary.framework"/>
        <framework src="MobileCoreServices.framework"/>
        <framework src="CoreGraphics.framework"/>
        <framework src="AVFoundation.framework"/>

    </platform>

    <!-- browser -->
    <platform name="browser">
        <config-file target="config.xml" parent="/*">
            <feature name="Camera">
                <param name="browser-package" value="Camera"/>
            </feature>
        </config-file>

        <js-module src="src/browser/CameraProxy.js" name="CameraProxy">
            <runs/>
        </js-module>
    </platform>

    <!-- windows -->
    <platform name="windows">
        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
            <DeviceCapability Name="webcam"/>
        </config-file>
        <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
            <clobbers target="CameraPopoverHandle"/>
        </js-module>
        <js-module src="src/windows/CameraProxy.js" name="CameraProxy">
            <runs/>
        </js-module>
    </platform>

    <!-- osx -->
    <platform name="osx">
        <config-file target="config.xml" parent="/*">
            <feature name="Camera">
                <param name="osx-package" value="CDVCamera"/>
            </feature>
        </config-file>

        <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
            <clobbers target="CameraPopoverHandle"/>
        </js-module>

        <header-file src="src/osx/CDVCamera.h"/>
        <source-file src="src/osx/CDVCamera.m"/>

        <framework src="Quartz.framework"/>
        <framework src="AppKit.framework"/>
    </platform>

</plugin>
