Home

Awesome

bms-clientsdk-android-analytics

Build Status Build Status Codacy Badge Coverage Status Maven Central

Release Notes:

1.2.+

To properly enable the location service some configuratios are required in the AndroidManifest.xml.

Open the AndroidManifest.xml file for your Android project. You can find this file in app > manifests. Add internet access and location access permission under the <manifest> element:

```
 <uses-permission android:name="android.permission.INTERNET" />
 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
```

If you're using sdk version greater than >= 1.2 then you need to put this below part inside the application of the AndroidManifest.xml file.

```
 <activity
        android:name="com.ibm.mobilefirstplatform.clientsdk.android.ui.UIActivity"
        android:label="@string/app_name"
        android:launchMode="singleTask">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

```

{: codeblock}

1.1.12

1.1.11

1.1.10

1.1.9

1.1.8

1.1.7

1.1.6

1.1.5:

1.1.4:

1.1.3:

1.1.2:

1.1.1:

1.1.0:

1.0.5:

1.0.3:

Known limitation - currently v2.x of Android SDK does not submit monitoring data. This is a work in progress and will be delivered in following months. If you’d like to continue receiving monitoring data in the service dashboard you can continue using the v1.x SDK.

Copyright 2016 IBM Corp.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.