phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.42k forks source link

Flash Light does not work on Android 9.0 How Can I Fix it #838

Closed semihaltintas closed 4 years ago

semihaltintas commented 4 years ago

<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.speedyfoody.client" versionCode = "46" version = "17.6.18">

<name>Speedy Foody</name>
<description>Speedy Foody</description>

<author href="http://speedyfoody.com" email="speedyfoody@speedyfoody.com">
    Veri Yazılım
</author>

<!--
    Enable individual API permissions here.
    The "device" permission is required for the 'deviceready' event.
-->

<!--
    <gap:plugin name="Example" />
    A list of available plugins are available at https://build.phonegap.com/docs/plugins
-->

<!--><gap:plugin name="com.phonegap.plugins.barcodescanner"/><-->
 <!-- <plugin name="cordova-plugin-barcodescanner" source="npm" /> -->
 <plugin name="phonegap-plugin-barcodescanner" source="npm" /> 

<!--><gap:plugin name="org.apache.cordova.core.geolocation" /><!-->
<plugin name="cordova-plugin-geolocation" spec="~2.4.3" />
<feature name="http://api.phonegap.com/1.0/device" />
<!--><gap:plugin name="org.apache.cordova.inappbrowser" /><!-->
<plugin name="cordova-plugin-inappbrowser" spec="~1.7.1" />
<!--><gap:plugin name="org.apache.cordova.camera" /><!-->
<plugin name="cordova-plugin-camera" spec="~2.4.1" />
<!--><gap:plugin name="org.apache.cordova.network-information"  /><!-->
<plugin name="cordova-plugin-network-information" spec="~1.3.3" />
<!--><gap:plugin name="com.phonegap.plugin.statusbar" /><-->
<plugin name="cordova-plugin-statusbar" spec="~2.2.3" />
<plugin name="cordova-plugin-splashscreen" spec="~5.0.3" />
<!--><gap:plugin name="com.simonmacdonald.telephonenumber" /><!-->

<!--
    If you do not want any permissions to be added to your app, add the
    following tag to your config.xml; you will still have the INTERNET
    permission on your app, which PhoneGap requires.

-->

<feature name="Camera">
    <param name="ios-package" value="CDVCamera" />
</feature>
<feature name="http://api.phonegap.com/1.0/file"/>
<feature name="http://api.phonegap.com/1.0/camera"/>

<!-- <preference name="SplashScreenDelay" value="10000" /> -->
<preference name="StatusBarOverlaysWebView" value="false"/>
<preference name="StatusBarBackgroundColor" value="#000000"/>
<preference name="StatusBarStyle" value="blackopaque" />
<!-- <preference name="android-build-tool" value="gradle" /> -->

<!-->
    <preference name="OverrideUserAgent" value="Mozilla/5.0 My Browser" />
    <preference name="AppendUserAgent" value="My Browser" />
<!-->
<preference name="SplashScreenDelay" value="6000" />
<preference name="AutoHideSplashScreen" value="true" />

 <preference name="phonegap-version" value="cli-9.0.0" />
 <!-- <preference name="phonegap-version" value="cli-6.5.0" />  -->
<!-- all: current version of PhoneGap -->
<preference name="permissions"                value="none"/>
<!-- Customize your app and platform with the preference element. -->
<preference name="orientation"                value="portrait" />
<!-- all: default means both landscape and portrait are enabled -->
<preference name="target-device"              value="universal" />
<!-- all: possible values handset, tablet, or universal -->
<preference name="fullscreen"                 value="false" />
<!-- all: hides the status bar at the top of the screen -->
<preference name="webviewbounce"              value="true" />
<!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
<preference name="prerendered-icon"           value="true" />
<!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
<preference name="stay-in-webview"            value="false" />
<!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
<preference name="detect-data-types"          value="true" />
<!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
<preference name="exit-on-suspend"            value="false" />
<!-- ios: if set to true, app will terminate when home button is pressed -->
<preference name="show-splash-screen-spinner" value="true" />
<!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
<preference name="auto-hide-splash-screen"    value="true" />
<!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
<preference name="disable-cursor"             value="false" />

<!-- <preference name="AutoHideSplashScreen" value="true" /> -->
<!-- <preference name="SplashScreenDelay" value="6000" /> -->
<!-- <preference name="SplashScreen" value="screen" /> -->
<!-- <preference name="SplashShowOnlyFirstTime" value="false" /> -->

<!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
<!-- <preference name="android-minSdkVersion"      value="12"/> -->
<!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
<!-- <preference name="android-installLocation"    value="auto" /> -->
<!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->

<!-- Plugins can also be added here. -->

<!-- iPhone 6 / 6+ -->
<icon src="images/app/icon-60@3x.png" gap:platform="ios" width="180" height="180" />

<!-- iPhone / iPod Touch  -->
<icon src="images/app/icon-60.png" gap:platform="ios" width="60" height="60" />
<icon src="images/app/icon-60@2x.png" gap:platform="ios" width="120" height="120" />

<!-- iPad -->
<icon src="images/app/icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="images/app/icon-76@2x.png" gap:platform="ios" width="152" height="152" />

<!-- Settings Icon -->
<icon src="images/app/icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="images/app/icon-small@2x.png" gap:platform="ios" width="58" height="58" />

<!-- Spotlight Icon -->
<icon src="images/app/icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="images/app/icon-40@2x.png" gap:platform="ios" width="80" height="80" />

<!-- iPhone / iPod Touch -->
<icon src="images/app/icon.png" gap:platform="ios" width="57" height="57" />
<icon src="images/app/icon@2x.png" gap:platform="ios" width="114" height="114" />

<!-- iPad -->
<icon src="images/app/icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="images/app/icon-72@2x.png" gap:platform="ios" width="144" height="144" />

<!-- iPhone Spotlight and Settings Icon -->
<icon src="images/app/icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="images/app/icon-small@2x.png" gap:platform="ios" width="58" height="58" />

<!-- iPad Spotlight and Settings Icon -->
<icon src="images/app/icon-50.png" gap:platform="ios" width="50" height="50" />
<icon src="images/app/icon-50@2x.png" gap:platform="ios" width="100" height="100" />

<icon src="images/app/MASTER_ICON.png" />

<!-- iPhone and iPod touch -->
<gap:splash src="images/app/Splash320x480.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="images/app/Splash640x960.png" gap:platform="ios" width="640" height="960" />

<!-- iPhone 5 / iPod Touch (5th Generation) -->
<gap:splash src="images/app/Splash640x1136.png" gap:platform="ios" width="640" height="1136" />

<!-- iPhone 6 -->
<gap:splash src="images/app/Splash750x1334.png" gap:platform="ios" width="750" height="1334" />
<gap:splash src="images/app/Splash1242x2208.png" gap:platform="ios" width="1242" height="2208" />
<gap:splash src="images/app/Splash.png" gap:platform="ios" width="2208" height="1242" />

<!-- iPad -->
<gap:splash src="images/app/Splash.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="images/app/Splash.png" gap:platform="ios" width="1024" height="768" />

<!-- Retina iPad -->
<gap:splash src="images/app/Splash1536x2048.png" gap:platform="ios" width="1536" height="2048" />
<gap:splash src="images/app/Splash.png" gap:platform="ios" width="2048" height="1536" />

<icon src="images/app/MASTER_ICON.png" gap:platform="android" gap:density="ldpi" />
<icon src="images/app/MASTER_ICON.png" gap:platform="android" gap:density="mdpi" />
<icon src="images/app/MASTER_ICON.png" gap:platform="android" gap:density="hdpi" />
<icon src="images/app/MASTER_ICON.png" gap:platform="android" gap:density="xhdpi" />
QR Kodu Okumak İçin Kamerayı Kullan QR Kodu Okumak İçin Kamerayı Kullan
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 4 years ago

This thread has been automatically locked.