Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated android sdk version, kotlin version, +release version number
  • Loading branch information
abikaram committed Apr 7, 2023
1 parent 6eb189d commit 732e52f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions android/app/build.gradle
Expand Up @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
Expand All @@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
}

android {
compileSdkVersion 30
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -46,7 +46,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.uconn.safer"
minSdkVersion 16
targetSdkVersion 30
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Expand Up @@ -6,6 +6,7 @@
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down
11 changes: 7 additions & 4 deletions lib/screens/safer_main_menu/stay_in_touch.dart
Expand Up @@ -22,10 +22,10 @@ class _StayInTouchState extends State<StayInTouch> {
"https://www.bridgeportct.gov/content/341307/341425/342901/342995.aspx",
"Milford": "https://www.ci.milford.ct.us/emergency-management-services",
"New Haven":
"https://www.newhavenct.gov/cityservices/emergency_services/default.htm",
"https://www.newhavenct.gov/government/departments-divisions/office-of-emergency-management/resources-information-links",
"New London":
"http://www.ci.new-london.ct.us/content/8251/13617/default.aspx",
"Norwalk": "https://www.norwalkct.org/324/Emergency-Management",
"https://newlondonct.org/content/8251/13617/default.aspx",
"Norwalk": "https://www.norwalkct.org/461/Important-Numbers",
};

@override
Expand Down Expand Up @@ -122,6 +122,9 @@ class _StayInTouchState extends State<StayInTouch> {
color: Colors.blue.withOpacity(1),
fontFamily: 'Raleway'),
),
onTap: () {
launch('tel://911');
},
),
Padding(
padding: const EdgeInsets.all(8),
Expand All @@ -148,7 +151,7 @@ class _StayInTouchState extends State<StayInTouch> {
fontFamily: 'Raleway'),
),
onTap: () {
launch('https://www.211ct.org/search?page=1&location=Bridgeport%2C%20CT%2C%20USA&service_area='
launch('https://uwc.211ct.org/contact/'
+ UtilPreferences.getString(Preferences.location));
},
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: safer

description: SAFER - Storm Assistance for Emergency Resilience

version: 1.0.0+1
version: 1.0.0+3

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down

0 comments on commit 732e52f

Please sign in to comment.