Skip to content

Commit 596bef4

Browse files
authored
Merge pull request #9 from ltrudu/master
Update for A13
2 parents 6c8ec32 + 7928b8b commit 596bef4

File tree

6 files changed

+55
-12
lines changed

6 files changed

+55
-12
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "" # See documentation for possible values
10+
directory: "/" # Location of package manifests
11+
schedule:
12+
interval: "weekly"

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DeviceIdentifiersWrapper/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ plugins {
33
}
44

55
android {
6-
compileSdkVersion 32
6+
compileSdkVersion 33
77

88
defaultConfig {
99
minSdkVersion 19
10-
targetSdkVersion 32
11-
versionCode 8
12-
versionName "0.8"
10+
targetSdkVersion 33
11+
versionCode 9
12+
versionName "0.9"
1313

14-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14+
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
1515

1616
}
1717

@@ -30,9 +30,9 @@ android {
3030

3131
dependencies {
3232
implementation fileTree(dir: 'libs', include: ['*.jar'])
33-
implementation 'com.android.support:appcompat-v7:28.0.0'
33+
implementation 'androidx.appcompat:appcompat:1.0.0'
3434
testImplementation 'junit:junit:4.13'
35-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
36-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
35+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
36+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
3737
compileOnly 'com.symbol:emdk:+'
3838
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools"
23
package="com.zebra.deviceidentifierswrapper">
4+
<!-- TODO: Add these permissions and queries to your app -->
35
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
46
<uses-permission android:name="com.zebra.provider.READ"/>
7+
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
8+
tools:ignore="ProtectedPermissions" />
9+
<uses-permission android:name="com.symbol.emdk.permission.EMDK" />
10+
511
<queries>
612
<package android:name="com.symbol.emdk.emdkservice" />
13+
<provider android:authorities="oem_info" />
714
</queries>
15+
16+
<!--application
17+
android:name = ".MainApplication"
18+
android:allowBackup="true"
19+
android:icon="@mipmap/ic_launcher"
20+
android:label="@string/app_name"
21+
android:roundIcon="@mipmap/ic_launcher_round"
22+
android:supportsRtl="true"
23+
android:theme="@style/AppTheme">
24+
<uses-library android:name="com.symbol.emdk" />
25+
TODO: Add uses-library to your application
26+
....
27+
</application-->
28+
829
</manifest>

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ Have fun with Zebra's devices :)
1414

1515
## Change Log !!!
1616
### 1. Change of REPOSITORY
17-
### 2. UPDATED FOR A11...
18-
### 3. Added a Sample repository running on <=A11
17+
### 2. UPDATED FOR A13...
18+
### 3. Added a Sample repository running on <=A13
1919

2020
## Sample Repository
2121
https://github.com/ltrudu/DeviceIdentifiersWrapper-Sample
2222

23+
## V0.8 to V0.9 : Updated for A13
24+
```text
25+
Added BIND_NOTIFICATION_LISTENER_SERVICE permission
26+
Added com.symbol.emdk.emdkservice querie
27+
API updated to 33
28+
```
2329
## V0.4 to v0.8 : Basic cache mechanism & Wait for EMDK availability
2430
```text
2531
Added basic cache mechanism.
@@ -74,13 +80,15 @@ To use this helper on Zebra Android devices running Android 10 or higher, first
7480
```xml
7581
<uses-permission android:name="com.zebra.provider.READ"/>
7682
<uses-permission android:name="com.symbol.emdk.permission.EMDK" />
83+
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
7784
```
7885

7986
Then add a query element to retrive the data (only necessary for Android builds >= 11)
8087

8188
```xml
8289
<queries>
8390
<provider android:authorities="oem_info" />
91+
<package android:name="com.symbol.emdk.emdkservice" />
8492
</queries>
8593
```
8694

@@ -97,10 +105,12 @@ Sample AdroidManifest.xml:
97105
<!--> TODO: Add these permissions to your manifest </-->
98106
<uses-permission android:name="com.zebra.provider.READ"/>
99107
<uses-permission android:name="com.symbol.emdk.permission.EMDK" />
108+
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
100109

101110
<!--> TODO: Add query element to your manifest </-->
102111
<queries>
103112
<provider android:authorities="oem_info" />
113+
<package android:name="com.symbol.emdk.emdkservice" />
104114
</queries>
105115

106116
<application

0 commit comments

Comments
 (0)