<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.yajny.cashback">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="com.huawei.Appmarket.service.commondata.permission.GET_COMMON_DATA"/>
    <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
    <uses-permission android:name="com.adjust.preinstall.READ_PERMISSION"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 
    <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 

    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:theme="@style/AppTheme"
      android:usesCleartextTraffic="true"
      >
        <activity
            android:name=".SplashActivity"
            android:theme="@style/SplashTheme"
            android:label="@string/app_name"
            android:exported="true"
            >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name" android:launchMode="singleTask"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustResize"
            android:screenOrientation="portrait"
            android:exported="true">
            
        <!-- <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>   -->
          <intent-filter android:label="Yajny"
          android:autoVerify="true">
          <action android:name="android.intent.action.VIEW" />
          <category android:name="android.intent.category.DEFAULT" />
          <category android:name="android.intent.category.BROWSABLE" />
          
    <!-- yajny://yajny.com/ar/* -->
        <data 
            android:scheme="yajny"
            android:host="yajny.com"
            android:pathPrefix="/en"
        />
        
    <!-- yajny://yajny.com/ar/* -->
        <data 
            android:scheme="yajny"
            android:host="yajny.com"
            android:pathPrefix="/ar"
        />

    <!-- https://yajny.com -->
        <data 
            android:scheme="https"
            android:host="yajny.com"
        /> 

    <!-- http://yajny.com -->
        <data 
            android:scheme="http"
            android:host="yajny.com"
        /> 

    <!-- https://yajny.com/ar/* -->
        <data 
            android:scheme="https"
            android:host="yajny.com"
        /> 

    <!-- http://yajny.com/en/* -->
        <data 
            android:scheme="http"
            android:host="yajny.com"
        /> 

    <!-- http://yajny.com/reset-password/* -->
        <data 
            android:scheme="http"
            android:host="yajny.com"
            android:pathPrefix="/reset-password"
        /> 

    <!-- https://yajny.com/reset-password/* -->
        <data 
            android:scheme="https"
            android:host="yajny.com"
            android:pathPrefix="/reset-password"
        /> 

    <!-- http://yajny.com/email/* -->
        <data 
            android:scheme="http"
            android:host="yajny.com"
            android:pathPrefix="/email"
        /> 

    <!-- https://yajny.com/email/* -->
        <data 
            android:scheme="https"
            android:host="yajny.com"
            android:pathPrefix="/email"
        />
      </intent-filter>
            <!-- <intent-filter>
                <data android:scheme="yajny" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
            </intent-filter>
          <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="3wad6.app.link" />
            </intent-filter> -->
      </activity>

      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
      <!-- <meta-data android:name="io.branch.sdk.BranchKey" android:value="key_live_beOKPi4qIKDBIem16heo9ghaxBajQpqX"/>
        <meta-data android:name="io.branch.sdk.BranchKey.test" android:value="key_test_edwDakKcMeWzJ3hC3aZs9kniyuaWGCTa"/> -->
      <meta-data android:name="com.facebook.sdk.ApplicationId" 
        android:value="@string/facebook_app_id"/>
        <meta-data android:name="com.facebook.sdk.ClientToken" 
        android:value="@string/facebook_client_token"/>
      <meta-data android:name="com.onesignal.NotificationAccentColor.DEFAULT" android:value="FFFF1501"/>
      <meta-data android:name="com.rollbar.android.@string/ANDROID_VERSION_CODE" android:value="1.0.0" />

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
                "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name" />
    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <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="@string/fb_login_protocol_scheme" />
        </intent-filter>
    </activity>

    <meta-data
        android:name="CLEVERTAP_ACCOUNT_ID"
        android:value="@string/CLEVERTAP_ACCOUNT_ID"/>
    <meta-data
        android:name="CLEVERTAP_TOKEN"
        android:value="@string/CLEVERTAP_TOKEN"/>
    <!-- IMPORTANT: To force use Google AD ID to uniquely identify  users, use the following meta tag. GDPR mandates that if you are using this tag, there is prominent disclousure to your end customer in their application. Read more about GDPR here - https://clevertap.com/blog/in-preparation-of-gdpr-compliance/ -->
    <meta-data
        android:name="CLEVERTAP_USE_GOOGLE_AD_ID"
        android:value="1"/> 

    <meta-data
        android:name="com.google.android.gms.ads.AD_MANAGER_APP"
        android:value="true" />

    <receiver android:name="com.adjust.sdk.AdjustReferrerReceiver" 
            android:exported="true" >
        <intent-filter>
            <action android:name="com.android.vending.INSTALL_REFERRER" />
        </intent-filter>
    </receiver>

    <service 
    android:name=".MyFirebaseMessagingService"
    android:exported="true"
    >
        <intent-filter>
          <action android:name="com.google.firebase.MESSAGING_EVENT"/>
        </intent-filter>
      </service>

    <service android:name=".MyHMSMessagingService" android:exported="false">
        <intent-filter>
            <action android:name="com.huawei.push.action.MESSAGING_EVENT" />
        </intent-filter>
    </service>



<meta-data
          android:name="CLEVERTAP_BACKGROUND_SYNC"
          android:value="1"/>

<meta-data
    android:name="CLEVERTAP_NOTIFICATION_ICON"
    android:value="logo"/> <!-- name of your file in the drawable directory without the file extension. -->

<!--use CTBackgroundIntentService to target users below Android 21 (Lollipop)-->
  <!-- <service
    android:name="com.clevertap.android.sdk.CTBackgroundIntentService"
    android:exported="false">
        <intent-filter>
            <action android:name="com.clevertap.BG_EVENT"/>
        </intent-filter>
  </service> -->

<!--use CTBackgroundJobService to target users on and above Android 21 (Lollipop)-->
    <!-- <service
      android:name="com.clevertap.android.sdk.CTBackgroundJobService"
      android:permission="android.permission.BIND_JOB_SERVICE"
      android:exported="false"/> -->

    <service
     android:name="com.clevertap.android.sdk.CTNotificationIntentService"
     android:exported="false">
      <intent-filter>
         <action android:name="com.clevertap.PUSH_EVENT"/>
      </intent-filter>
    </service>
    
    <meta-data     
        android:name="com.huawei.hms.client.channel.androidMarket"  
        android:value="false" />

    <!-- Start of Huawei Local Notifications -->
        <receiver android:name="com.huawei.hms.rn.push.receiver.HmsLocalNotificationActionsReceiver" />
        <receiver 
        android:name="com.huawei.hms.rn.push.receiver.HmsLocalNotificationBootEventReceiver"
        android:exported="true"
        >
            <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
        <receiver android:name="com.huawei.hms.rn.push.receiver.HmsLocalNotificationScheduledPublisher" 
            android:enabled="true"
            android:exported="true">
        </receiver>
    <!-- End of Huawei Local Notifications -->

    <!-- Start of Huawei Notifications Auto Initialization -->
    <meta-data
        android:name="push_kit_auto_init_enabled"
        android:value="true"
    />
    <!-- End of Huawei Notifications Auto Initialization -->

    </application>

</manifest>
