Skip to content

Commit

Permalink
Merge pull request #93 from playmoweb/master
Browse files Browse the repository at this point in the history
Upgrade to android 12
  • Loading branch information
mazenrashed authored Jan 11, 2022
2 parents 97e2410 + e9fd4e2 commit 8d9be55
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 28
compileSdkVersion 31
defaultConfig {
applicationId "com.mazenrashed.universalbluetoothprinter"
minSdkVersion 19
targetSdkVersion 28
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
Expand All @@ -31,7 +31,7 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
testImplementation 'junit:junit:4.12'
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:name="com.mazenrashed.example.ApplicationClass">
<activity android:name="com.mazenrashed.example.MainActivity">
<activity
android:name="com.mazenrashed.example.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".WoosimActivity"/>
<activity android:name=".WoosimActivity" />
</application>

</manifest>
10 changes: 4 additions & 6 deletions printooth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 29


compileSdkVersion 31

defaultConfig {
minSdkVersion 19
targetSdkVersion 29
targetSdkVersion 31
versionCode 1
versionName "1.0"
multiDexEnabled true
Expand Down Expand Up @@ -52,10 +50,10 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'io.paperdb:paperdb:2.6'
implementation 'io.paperdb:paperdb:2.7.1'
//Runtime permissions
implementation 'com.afollestad.assent:core:3.0.0-RC4'
implementation 'com.android.support:design:29.0.0'
implementation 'com.android.support:design:31.0.0'
}
repositories {
mavenCentral()
Expand Down
2 changes: 2 additions & 0 deletions printooth/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application android:theme="@style/AppTheme">
<activity
android:name="com.mazenrashed.printooth.ui.ScanningActivity"
android:exported="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<intent-filter>
<action android:name="com.mazenrashed.universalbluethootprinter.ui.ScanningActivity.LAUNCH" />
Expand Down

0 comments on commit 8d9be55

Please sign in to comment.