AndroidManifest.xml 11.5 KB
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="ly.warp.sdk">

    <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"/>

    <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="ly.warp.sdk.activities.WarpViewActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

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

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

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

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

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

        <activity
            android:name="ly.warp.sdk.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="ly.warp.sdk.activities.GiftsForYouActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/GFYAppTheme" />

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

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

        <activity
            android:name="ly.warp.sdk.activities.LoyaltyWallet"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

        <activity
            android:name="ly.warp.sdk.activities.ActiveGiftsActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

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

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

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

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

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

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

        <activity
            android:name="ly.warp.sdk.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>

        <!-- Service used for updating user's location. -->
        <service
            android:name="ly.warp.sdk.services.UpdateUserLocationService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.VouchersFetchedService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventCouponsService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventUnifiedCouponsService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventCampaignCouponService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventCampaignService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventRefreshDeviceTokenService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <service
            android:name="ly.warp.sdk.services.EventQuestionnaireService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

<!--        android:stopWithTask="false"-->
<!--        android:process=":warplyHealthService"-->
        <service
            android:name="ly.warp.sdk.services.WarplyHealthService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

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

        <!-- Service used for in app notification. -->
        <service
            android:name="ly.warp.sdk.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="ly.warp.sdk.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="ly.warp.sdk.receivers.BluetoothStateChangeReceiver"
            android:exported="false">
            <intent-filter>
                <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
            </intent-filter>
        </receiver>

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

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