AndroidManifest.xml 8.86 KB
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    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" />

    <application>
        <!--        <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.ActiveCouponsActivity"
            android:exported="false"
            android:screenOrientation="portrait"
            android:theme="@style/SDKAppTheme" />

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

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

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