<?xml version='1.0' encoding='utf-8'?>
<widget id="br.com.clientes" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Trimsy</name>
    <description>
        App do cliente Trimsy para agendar serviços de beleza.
    </description>
    <author email="desenvolvimentofbusness@procontrolcloud.com.br" href="https://trimsy.app">
        Trimsy
    </author>
    <icon src="res/icon.png" />
    <content src="index.html" />
    <access origin="*" />
    <allow-navigation href="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="whatsapp:*" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="BackupWebStorage" value="local" />
    <preference name="AndroidInsecureFileModeEnabled" value="true" />
    <preference name="LoadUrlTimeoutValue" value="120000" />
    <preference name="AutoHideSplashScreen" value="true" />
    <preference name="FadeSplashScreenDuration" value="0" />
    <preference name="ShowSplashScreenSpinner" value="false" />
    <preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/android/splash-icon.xml" />
    <preference name="AndroidWindowSplashScreenAnimationDuration" value="0" />
    <preference name="AndroidWindowSplashScreenIconBackgroundColor" value="#0735C5" />
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />
    <preference name="AllowInlineMediaPlayback" value="true" />
    <preference name="WKWebViewOnly" value="true" />
    <preference name="scheme" value="app" />
    <preference name="hostname" value="localhost" />
    <preference name="Orientation" value="portrait" />
    <preference name="StatusBarOverlaysWebView" value="true" />
    <preference name="StatusBarBackgroundColor" value="#0735C5" />
    <preference name="StatusBarStyle" value="lightcontent" />
    <preference name="BackgroundColor" value="0xff0735C5" />
    <preference name="AllowBackForwardNavigationGestures" value="false" />
    <preference name="AndroidWindowSplashScreenBackground" value="#0735C5" />
    <platform name="android">
        <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:usesCleartextTraffic="true" />
        </edit-config>
        <config-file target="AndroidManifest.xml" parent="/*">
            <uses-permission android:name="android.permission.CAMERA" />
            <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
            <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
            <uses-feature android:name="android.hardware.camera" android:required="false" />
        </config-file>
        <icon density="ldpi" src="res/android/ldpi.png" />
        <icon density="mdpi" src="res/android/mdpi.png" />
        <icon density="hdpi" src="res/android/hdpi.png" />
        <icon density="xhdpi" src="res/android/xhdpi.png" />
        <icon density="xxhdpi" src="res/android/xxhdpi.png" />
        <icon density="xxxhdpi" src="res/android/xxxhdpi.png" />
        <config-file target="AndroidManifest.xml" parent="/manifest/queries">
            <intent>
                <action android:name="android.intent.action.DIAL" />
                <data android:scheme="tel" />
            </intent>
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <data android:scheme="https" android:host="api.whatsapp.com" />
            </intent>
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <data android:scheme="whatsapp" />
            </intent>
            <package android:name="com.whatsapp" />
            <package android:name="com.whatsapp.w4b" />
        </config-file>
    </platform>
    <platform name="ios">
        <preference name="deployment-target" value="13.0" />
        <preference name="TargetedDeviceFamily" value="1" />
        <icon src="res/icon.png" width="1024" height="1024" />
        <splash src="res/splash.png" />
        <resource-file src="res/ios/PrivacyInfo.xcprivacy" />
        <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
            <string>O Trimsy utiliza sua localização para encontrar profissionais e estabelecimentos de beleza próximos de você.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysAndWhenInUseUsageDescription">
            <string>O Trimsy utiliza sua localização para encontrar profissionais e estabelecimentos de beleza próximos de você.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
            <string>O Trimsy usa a câmera para a foto do seu perfil e para fotos nas avaliações.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription">
            <string>O Trimsy acessa suas fotos para a foto do perfil e para anexar imagens nas avaliações.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryAddUsageDescription">
            <string>O Trimsy pode salvar imagens na galeria quando você pedir.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="ITSAppUsesNonExemptEncryption">
            <false/>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSAppTransportSecurity">
            <dict>
                <key>NSAllowsArbitraryLoads</key>
                <true/>
                <key>NSAllowsLocalNetworking</key>
                <true/>
            </dict>
        </edit-config>
        <config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
            <array>
                <string>whatsapp</string>
                <string>tel</string>
                <string>mailto</string>
                <string>googlechromes</string>
            </array>
        </config-file>
    </platform>
</widget>
