Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
db34c34
Migrasi ke Flutter V2 Embedding
CoderJava Mar 8, 2021
ccc75fd
Update README.md
CoderJava Mar 24, 2021
79f3e12
Update README.md
CoderJava Mar 24, 2021
61d0166
Starting development v3.0.0
CoderJava Jul 9, 2021
ee90525
Merge remote-tracking branch 'origin/master' into dev-v3.0.0
CoderJava Nov 14, 2021
0471181
Update pubspec.yaml
CoderJava Nov 14, 2021
f58de8a
Create class base_url_config.dart
CoderJava Nov 14, 2021
f59fbb6
Create device_utils.dart
CoderJava Nov 14, 2021
18a63bf
Create flavor_config.dart
CoderJava Nov 14, 2021
098f3cd
Update .gitignore file
CoderJava Nov 21, 2021
83a9d0f
Delete widget_test.dart
CoderJava Nov 21, 2021
29394bd
Added .flutter-plugins-dependencies in .gitignore file
CoderJava Nov 21, 2021
d43ff6e
Add `flutter_lints` in pubspec.yaml
CoderJava Nov 21, 2021
0c6fc98
Create exception.dart file
CoderJava Nov 21, 2021
202e9c9
Create failure.dart file
CoderJava Nov 21, 2021
be8e2b0
Create network_info.dart file
CoderJava Nov 21, 2021
fe0fb39
Create app_route.dart file
CoderJava Nov 21, 2021
28603e7
Create analysis_options.yaml file
CoderJava Nov 21, 2021
385be6b
Create use_case.dart
CoderJava Nov 21, 2021
1f774f0
Create constant_error_message.dart file
CoderJava Nov 21, 2021
765f145
Update pubspec.lock file
CoderJava Dec 19, 2021
63f3e29
Create mock_helper.dart
CoderJava Dec 19, 2021
9431131
Create failure_test.dart
CoderJava Dec 19, 2021
83f2ffb
Create network_info_test.dart file
CoderJava Dec 19, 2021
39e6204
Update .gitignore file
CoderJava Dec 19, 2021
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Migrasi ke Flutter V2 Embedding
  • Loading branch information
CoderJava committed Mar 8, 2021
commit db34c34a352dadefcddde5316ba84d972a013968
15 changes: 8 additions & 7 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name="io.flutter.app.FlutterApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher">
<activity
Expand All @@ -19,17 +18,19 @@
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
package com.ysn.flutter_news_app

import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.embedding.android.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
}
class MainActivity : FlutterActivity() {
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/ic_launcher" />
</item>
</layer-list>
4 changes: 4 additions & 0 deletions android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>

<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">@android:color/white</item>
</style>
</resources>