Skip to content

Commit 6f63d0c

Browse files
committed
Migrate app package
1 parent 4f1a2bc commit 6f63d0c

100 files changed

Lines changed: 420 additions & 423 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434

3535
defaultConfig {
3636
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37-
applicationId "com.example.untitled"
37+
applicationId "com.shifthackz.wooapp"
3838
minSdkVersion 20
3939
targetSdkVersion 33
4040
versionCode flutterVersionCode.toInteger()

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.untitled">
2+
package="com.shifthackz.wooapp">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,37 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.untitled">
2+
package="com.shifthackz.wooapp">
33

44
<uses-permission android:name="android.permission.INTERNET" />
55

6-
<application
7-
android:label="untitled"
8-
android:icon="@mipmap/ic_launcher">
6+
<application
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="WooApp">
99
<activity
1010
android:name=".MainActivity"
11-
android:launchMode="singleTop"
12-
android:theme="@style/LaunchTheme"
1311
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
14-
android:hardwareAccelerated="true"
1512
android:exported="true"
13+
android:hardwareAccelerated="true"
14+
android:launchMode="singleTop"
15+
android:theme="@style/LaunchTheme"
1616
android:windowSoftInputMode="adjustResize">
1717
<!-- Specifies an Android theme to apply to this Activity as soon as
1818
the Android process has started. This theme is visible to the user
1919
while the Flutter UI initializes. After that, this theme continues
2020
to determine the Window background behind the Flutter UI. -->
2121
<meta-data
22-
android:name="io.flutter.embedding.android.NormalTheme"
23-
android:resource="@style/NormalTheme"
24-
/>
22+
android:name="io.flutter.embedding.android.NormalTheme"
23+
android:resource="@style/NormalTheme" />
2524
<!-- Displays an Android View that continues showing the launch screen
2625
Drawable until Flutter paints its first frame, then this splash
2726
screen fades out. A splash screen is useful to avoid any visual
2827
gap between the end of Android's launch screen and the painting of
2928
Flutter's first frame. -->
3029
<meta-data
31-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
32-
android:resource="@drawable/launch_background"
33-
/>
30+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
31+
android:resource="@drawable/launch_background" />
3432
<intent-filter>
35-
<action android:name="android.intent.action.MAIN"/>
36-
<category android:name="android.intent.category.LAUNCHER"/>
33+
<action android:name="android.intent.action.MAIN" />
34+
<category android:name="android.intent.category.LAUNCHER" />
3735
</intent-filter>
3836
</activity>
3937
<!-- Don't delete the meta-data below.
@@ -42,7 +40,7 @@
4240
android:name="flutterEmbedding"
4341
android:value="2" />
4442
<meta-data
45-
android:name="com.google.android.geo.API_KEY"
46-
android:value="AIzaSyDJdk21GvvuNT1VHQmJ2YrRDFc1Pn6D70E" />
43+
android:name="com.google.android.geo.API_KEY"
44+
android:value="AIzaSyDJdk21GvvuNT1VHQmJ2YrRDFc1Pn6D70E" />
4745
</application>
4846
</manifest>

android/app/src/main/kotlin/com/example/untitled/MainActivity.kt

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.shifthackz.wooapp
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity()

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.untitled">
2+
package="com.shifthackz.wooapp">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

lib/api/cocart_api_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:dio/dio.dart';
22
import 'package:flutter_dotenv/flutter_dotenv.dart';
3-
import 'package:untitled/api/interceptor_cocart_auth.dart';
3+
import 'package:wooapp/api/interceptor_cocart_auth.dart';
44

55
import 'interceptor_logger.dart';
66

lib/api/woo_api_client.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:dio/dio.dart';
22
import 'package:flutter_dotenv/flutter_dotenv.dart';
3-
import 'package:untitled/api/interceptor_woo_auth.dart';
4-
import 'package:untitled/api/interceptor_logger.dart';
3+
import 'package:wooapp/api/interceptor_woo_auth.dart';
4+
import 'package:wooapp/api/interceptor_logger.dart';
55

66
class WooApiClient {
77
final Dio dio = Dio();

lib/api/wp_api_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:dio/dio.dart';
22
import 'package:flutter_dotenv/flutter_dotenv.dart';
3-
import 'package:untitled/api/interceptor_logger.dart';
3+
import 'package:wooapp/api/interceptor_logger.dart';
44

55
class WpApiClient {
66
final Dio dio = Dio();

lib/database/database.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import 'package:hive_flutter/hive_flutter.dart';
2-
import 'package:untitled/database/cart_cache_item.dart';
3-
import 'package:untitled/database/filter.dart';
4-
import 'package:untitled/database/filter_active.dart';
5-
import 'package:untitled/database/filter_value.dart';
6-
import 'package:untitled/database/product.dart';
7-
import 'package:untitled/database/user.dart';
8-
import 'package:untitled/model/attribute.dart';
9-
import 'package:untitled/model/product.dart';
2+
import 'package:wooapp/database/cart_cache_item.dart';
3+
import 'package:wooapp/database/filter.dart';
4+
import 'package:wooapp/database/filter_active.dart';
5+
import 'package:wooapp/database/filter_value.dart';
6+
import 'package:wooapp/database/product.dart';
7+
import 'package:wooapp/database/user.dart';
8+
import 'package:wooapp/model/attribute.dart';
9+
import 'package:wooapp/model/product.dart';
1010

1111
class AppDb {
1212

0 commit comments

Comments
 (0)