AndroidManifest.xml 10.4 KB
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission
        android:name="android.permission.REQUEST_INSTALL_PACKAGES"
        tools:node="remove" />
    <uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<!--    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_HEALTH" />-->
<!--    <uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" />-->
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!--    <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />-->
<!--    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />-->

    <application android:largeHeap="true">
        <!--        <meta-data-->
        <!--            android:name="com.google.android.geo.API_KEY"-->
        <!--            android:value="@string/google_maps_key" />-->

        <!-- For Huawei Push -->
        <meta-data
            android:name="push_kit_auto_init_enabled"
            android:value="true" />

        <meta-data
            android:name="com.huawei.hms.client.channel.androidMarket"
            android:value="false" />

        <activity
            android:name=".activities.WarpViewActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.LoyaltyAnalysisActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.LoyaltyHistoryActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.CouponInfoActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.LoyaltyMarketAnalysisActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.UnifiedCouponInfoActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.ActiveCouponsActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.ActiveUnifiedCouponsActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <!--        android:screenOrientation="portrait"-->
        <!--        <activity-->
        <!--            android:name="ly.warp.sdk.activities.TelematicsActivity"-->
        <!--            android:exported="false"-->
        <!--            android:configChanges="orientation|screenSize"-->
        <!--            android:theme="@style/SDKAppTheme" />-->

        <!--        <activity-->
        <!--            android:name="ly.warp.sdk.activities.TelematicsHistoryActivity"-->
        <!--            android:exported="false"-->
        <!--            android:configChanges="orientation|screenSize"-->
        <!--            android:theme="@style/SDKAppTheme" />-->

        <!--        <activity-->
        <!--            android:name="ly.warp.sdk.activities.TelematicsMetricsActivity"-->
        <!--            android:exported="false"-->
        <!--            android:configChanges="orientation|screenSize"-->
        <!--            android:theme="@style/SDKAppTheme" />-->

        <activity
            android:name=".activities.GiftsForYouActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/GFYAppTheme" />

        <activity
            android:name=".activities.MoreForYouActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.CouponsetInfoActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.ShopsActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.ShopsHuaweiActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.CouponShareActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.TelcoActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".activities.ContextualActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name=".dexter.PermissionsActivity"
            android:exported="false"
            android:launchMode="singleInstance"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.Light.NoTitleBar" />

        <activity
            android:name=".activities.BaseFragmentActivity"
            android:exported="true"
            android:screenOrientation="portrait">
            <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:host="cosmoteapp.gr"
                    android:scheme="demo" />

                <data
                    android:host="cosmoteapp.gr"
                    android:pathPrefix="/payment"
                    android:scheme="demo" />
            </intent-filter>
        </activity>

        <!--        android:stopWithTask="false"-->
        <!--        android:process=":warplyHealthService"-->
<!--        <service-->
<!--            android:name=".services.WarplyHealthService"-->
<!--            android:exported="false"-->
<!--            android:foregroundServiceType="health"-->
<!--            android:permission="android.permission.FOREGROUND_SERVICE" />-->

        <service
            android:name=".services.WarplyBeaconsRangingService"
            android:exported="false" />

        <!-- Service used for in app notification. -->
        <service
            android:name=".services.WarpInAppNotificationService"
            android:exported="false" />

        <!-- FCM Service for push notifications -->
        <!--        <service-->
        <!--            android:name="ly.warp.sdk.services.FCMBaseMessagingService"-->
        <!--            android:exported="false">-->
        <!--            <intent-filter>-->
        <!--                <action android:name="com.google.firebase.MESSAGING_EVENT" />-->
        <!--            </intent-filter>-->
        <!--        </service>-->

        <!-- Service used for handling Huawei Push Notifications, comment if we are in Google build -->
        <!--        <service-->
        <!--            android:name="ly.warp.sdk.services.HMSBaseMessagingService"-->
        <!--            android:exported="false">-->
        <!--            <intent-filter>-->
        <!--                <action android:name="com.huawei.push.action.MESSAGING_EVENT" />-->
        <!--            </intent-filter>-->
        <!--        </service>-->

        <receiver
            android:name=".receivers.LocationChangedReceiver"
            android:exported="false" />

        <!--        <receiver-->
        <!--            android:name="ly.warp.sdk.receivers.ConnectivityChangedReceiver"-->
        <!--            android:exported="false">-->
        <!--            <intent-filter>-->
        <!--                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />-->
        <!--                <category android:name="${applicationId}" />-->
        <!--            </intent-filter>-->
        <!--        </receiver>-->

        <receiver
            android:name=".receivers.BluetoothStateChangeReceiver"
            android:exported="false">
            <intent-filter>
                <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
            </intent-filter>
        </receiver>

        <receiver
            android:name=".receivers.WarplyInAppNotificationReceiver"
            android:exported="false" />

<!--        <receiver-->
<!--            android:name=".receivers.RestartHealthServiceReceiver"-->
<!--            android:exported="false">-->
<!--            <intent-filter>-->
<!--&lt;!&ndash;                <action android:name="android.intent.action.BOOT_COMPLETED" />&ndash;&gt;-->
<!--                <action android:name="android.intent.action.RESTART" />-->
<!--            </intent-filter>-->
<!--        </receiver>-->

        <!--        <provider-->
        <!--            android:name=".utils.WarplyProvider"-->
        <!--            android:authorities="ly.warp.sdk.utils.WarplyProvider" />-->
    </application>
</manifest>