Skip to content

Commit

Permalink
App version and gradle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbadyal committed Apr 16, 2021
1 parent 107b5bc commit 59327e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 3 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
} else {
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

android {
Expand All @@ -44,7 +46,7 @@ android {
}

defaultConfig {
applicationId "com.nikhil.notes"
applicationId "com.nikhil.flutter.notes"
minSdkVersion 21
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nikhil.notes">
package="com.nikhil.flutter.notes">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.nikhil.notes
package com.nikhil.flutter.notes

import android.os.Environment
import io.flutter.embedding.android.FlutterFragmentActivity
Expand Down
11 changes: 2 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: notes
description: My Notes App.,
description: Notes App,

publish_to: 'none'

Expand Down Expand Up @@ -32,14 +32,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
sqflite_common_ffi: ^2.0.0
# test_api: ^0.3.0
# change_app_package_name: ^1.0.0
# flutter_native_splash: ^1.1.7+1
# flutter_launcher_icons: ^0.9.0
# integration_test: ^1.0.2+2
# mockito: any
# test: any
# build_runner: any
# change_app_package_name: ^1.0.0

flutter:
uses-material-design: true
Expand Down

0 comments on commit 59327e5

Please sign in to comment.