﻿<?xml version='1.0' encoding='utf-8'?>
<widget id="com.binaplus.app" version="1.0.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
    <name>בינה פלוס</name>
    <description>אפליקציית בינה פלוס</description>
    <author email="dev@cordova.apache.org" href="https://cordova.apache.org">
        Apache Cordova Team
    </author>
    <content src="index.html" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="content:*" />
    <allow-intent href="file:*" />

    <preference name="AndroidXEnabled" value="true" />

    <!-- WebView background color (white) -->
    <preference name="BackgroundColor" value="0xFFFFFFFF" />
    
    <!-- Transparent status bar handled by cordova-plugin-transparent-statusbar -->


    <access origin="*" />
    <access origin="https://*.binaplus.co.il" />
    <access origin="https://*.bina-plus-0fa663fb5bf0.herokuapp.com" />
    <access origin="https://*.wizzo.media" />
    <access origin="https://*.facebook.com" />
    <access origin="https://*.google.com" />

    <platform name="android">
        <resource-file src="google-services.json" target="app/google-services.json" />
        <preference name="android-minSdkVersion" value="23" />
        <preference name="android-targetSdkVersion" value="35" />
        
<preference name="AndroidWindowSoftInputMode" value="adjustResize" />

<preference name="KeyboardResize" value="true" />
<preference name="KeyboardResizeMode" value="native" />

        <!-- Navigation Bar (bottom) color -->
        <preference name="AndroidNavigationBarColor" value="#F8FAFC" />
        <preference name="AndroidNavigationBarLight" value="true" />

        <preference name="AndroidPersistentFileLocation" value="Compatibility" />
        <preference name="requestLegacyExternalStorage" value="true" />
        
        <!-- Enable text selection and context menus -->
        <preference name="DisallowOverscroll" value="false" />
        <preference name="SuppressesLongPressGesture" value="false" />
        <preference name="AllowInlineMediaPlayback" value="true" />

        <preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/splash_icon.xml" />

        <icon src="res/android/icon/drawable-ldpi-icon.png" density="ldpi" />
        <icon src="res/android/icon/drawable-mdpi-icon.png" density="mdpi" />
        <icon src="res/android/icon/drawable-hdpi-icon.png" density="hdpi" />
        <icon src="res/android/icon/drawable-xhdpi-icon.png" density="xhdpi" />
        <icon src="res/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi" />
        <icon src="res/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi" />
        
        <resource-file src="res/android/push_icon/drawable-xhdpi/fcm_push_icon.png" target="app/src/main/res/drawable/fcm_push_icon.png" />
        <resource-file src="res/android/push_icon/drawable-hdpi/fcm_push_icon.png" target="platforms/android/res/drawable-hdpi/fcm_push_icon.png" />
        <resource-file src="res/android/push_icon/drawable-mdpi/fcm_push_icon.png" target="platforms/android/res/drawable-mdpi/fcm_push_icon.png" />
        <resource-file src="res/android/push_icon/drawable-xhdpi/fcm_push_icon.png" target="platforms/android/res/drawable-xhdpi/fcm_push_icon.png" />
        <resource-file src="res/android/push_icon/drawable-xxhdpi/fcm_push_icon.png" target="platforms/android/res/drawable-xxhdpi/fcm_push_icon.png" />
        <resource-file src="res/android/push_icon/drawable-xxxhdpi/fcm_push_icon.png" target="platforms/android/res/drawable-xxxhdpi/fcm_push_icon.png" />
        <resource-file src="colors.xml" target="app/src/main/res/values/colors.xml" />
        <resource-file src="res/values/themes.xml" target="app/src/main/res/values/themes.xml" />

        <config-file target="AndroidManifest.xml" parent="/manifest">
            <uses-permission android:name="android.permission.VIBRATE" />
            <uses-permission android:name="android.permission.RECORD_AUDIO" />
            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        </config-file>

        <preference name="AndroidLaunchMode" value="singleTop"/>
      
        <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:largeHeap="true" android:hardwareAccelerated="true" />
        </edit-config>

        
        <!-- Deep Links / App Links -->
        <config-file target="AndroidManifest.xml" parent="/manifest/application/activity">
            <intent-filter android:autoVerify="true">
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="https" android:host="binaplus.co.il" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="todo" android:host="open" />
            </intent-filter>
            <!-- Share intent for receiving images/videos -->
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
                <data android:mimeType="video/*" />
            </intent-filter>
            <!-- Share intent for receiving documents -->
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/pdf" />
                <data android:mimeType="application/msword" />
                <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
                <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
                <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
                <data android:mimeType="text/plain" />
            </intent-filter>
        </config-file>
        
    </platform>
    
    <universal-links>
        <host event="deeplink_ndl_article" name="binaplus.co.il" scheme="https" />
        <host event="deeplink_ndl_article" name="www.binaplus.co.il" scheme="https" />
    </universal-links>
</widget>




















































































