Skip to content

Commit 97a9d83

Browse files
authored
Merge pull request #78 from ryanaidilp/release/0.8.1
feat(release): prepare release 0.8.1
2 parents 3d98501 + 8d6658d commit 97a9d83

File tree

304 files changed

+6724
-10302
lines changed

Some content is hidden

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

304 files changed

+6724
-10302
lines changed

.github/cspell.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"version": "0.2",
33
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
4-
"dictionaries": [
5-
"vgv_allowed",
6-
"vgv_forbidden"
7-
],
4+
"dictionaries": ["vgv_allowed", "vgv_forbidden"],
85
"dictionaryDefinitions": [
96
{
107
"name": "vgv_allowed",
@@ -48,5 +45,9 @@
4845
"kbli",
4946
"KBKI",
5047
"KBLI",
48+
"newscat",
49+
"json_serialilzable",
50+
"dartz",
51+
"unused"
5152
]
52-
}
53+
}

.github/workflows/codecov.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ jobs:
4343
lcov --remove ./coverage/lcov.info \
4444
"**/*.config.dart" \
4545
"**/base_entity_*.dart" \
46-
"base_entity.dart" \
46+
"**/base_entity.dart" \
47+
"**/network_client.dart" \
48+
"**/request_data.dart" \
49+
"**/response_data.dart" \
50+
"**/*_model.dart" \
51+
"**/base_network_injector.dart" \
52+
"**/result.dart" \
4753
"**/stadata_flutter_sdk.dart" \
4854
"**/register_module.dart" \
4955
"**/http_*.dart" \
@@ -52,8 +58,11 @@ jobs:
5258
"**/*.g.dart" \
5359
"**/*.freezed.dart" \
5460
"**/*_serializer.dart" \
61+
"**/*_converter.dart" \
5562
"**/service_locator.dart" \
63+
"**/retry_interceptor.dart" \
5664
"**/env.dart" \
65+
"**/api_config.dart" \
5766
"**/usecase.dart" \
5867
"**/injector.dart" \
5968
"**/*_injector.dart" \

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
working_directory: packages/stadata_flutter_sdk
2828
flutter_channel: stable
2929
min_coverage: 80
30-
coverage_excludes: "**/*.config.dart **/base_entity_*.dart **/base_entity.dart **/stadata_flutter_sdk.dart **/register_module.dart **/http_*.dart **/*_http_module.dart **/*_log_*.dart **/*.g.dart **/*.freezed.dart **/*_serializer.dart **/service_locator.dart **/env.dart **/usecase.dart **/injector.dart **/*_injector.dart"
30+
coverage_excludes: "**/*.config.dart **/base_entity_*.dart **/base_entity.dart **/stadata_flutter_sdk.dart **/register_module.dart **/http_*.dart **/*_http_module.dart **/*_log_*.dart **/*.g.dart **/*.freezed.dart **/*_serializer.dart **/*_converter.dart **/service_locator.dart **/env.dart **/usecase.dart **/injector.dart **/*_injector.dart **/network_client.dart **/request_data.dart **/response_data.dart **/api_config.dart **/base_network_injector.dart **/result.dart **/*_model.dart **/retry_interceptor.dart"

CHANGELOG.md

Lines changed: 659 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ For detailed usage instructions and documentation of this package, please refer
6363
- ✅ News Categories
6464
- ✅ Subject Categories
6565
- ✅ Subjects
66-
- 🔄 KBLI
66+
- KBLI
6767
- 🔄 Glosarium
6868
- 🔄 Census Data
6969
- 🔄 SIMDASI
@@ -83,7 +83,7 @@ For detailed usage instructions and documentation of this package, please refer
8383
- ✅ Press Release
8484
- ✅ News
8585
- ✅ News Category
86-
- 🔄 KBLI
86+
- KBLI
8787

8888
---
8989

app/example/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## 1.1.0
2+
3+
- **REFACTOR**(pages): update pages copy. ([75cfa203](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/75cfa2030cfbbb9af9b65606ad56048c3e37f120))
4+
- **REFACTOR**(page): update copy of strategic indicator page. ([ec56f81c](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/ec56f81c72e5f54c081972cb04e2e06506792a6b))
5+
- **REFACTOR**(copy): update static table copy. ([749da296](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/749da2968a99392caf7ccbfd43255155bd819276))
6+
- **REFACTOR**(page): update copy and pagination of publication. ([d3c31a3a](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/d3c31a3ad6d17b259600b5a0e965f52c87524d7d))
7+
- **REFACTOR**(linter): update linter rule. ([bbde442b](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/bbde442b1abf115fae627ad00233af74aa574bd5))
8+
- **REFACTOR**(copy): update copy of old hardcoded. ([db255ec3](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/db255ec3b5c99230cefcc1631befd3b1931c0a7e))
9+
- **REFACTOR**(example): use new pagination implementation. ([8d2ea0e3](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/8d2ea0e347d8935fb8cfdea1a08e6cb0e912a295))
10+
- **REFACTOR**(widget): add expanded to prevent overflow. ([9e5aa8f3](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/9e5aa8f32f8273804ae610b127786ce95a6979ee))
11+
- **REFACTOR**(news): update copy & pagination implementation of news. ([15fd249b](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/15fd249baf70c3e02b36480f3c6725854433cab8))
12+
- **REFACTOR**(infographic-example): add number paginator. ([3583a216](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/3583a2168eec87fae86a0c4de03e61372bb5f1d3))
13+
- **REFACTOR**(import): remove unused. ([a9666d5a](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/a9666d5a73487062f5760e034cde1c0040aef64e))
14+
- **REFACTOR**(packages): update package version. ([17ce7bed](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/17ce7bed463c9bd6a7e8fb5bdaf4698a594bac9e))
15+
- **REFACTOR**(docs): update documentation url. ([19ee634b](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/19ee634bf0001ec45e9d00781947c388e5ccf252))
16+
- **REFACTOR**(pubspec): update example app description. ([bde9472c](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/bde9472ce951b69dd45c4dbb801e3a2a7810f85a))
17+
- **REFACTOR**(app): re-structuring app code. ([88e30890](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/88e3089028bdece8e052558654a65d3e9c704e4e))
18+
- **FIX**(gradle): update gradle settings. ([5ec68643](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/5ec686434477265252423ea1823d056ad19162e8))
19+
- **FIX**(android): update android example. ([45948616](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/4594861607771bd4fc9d76314e23b88330a1add8))
20+
- **FIX**(packages): remove month_year_picker. ([6f4f963e](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/6f4f963e0bb0b81f9b7f8ab2cd8e502f133d1d55))
21+
- **FIX**(deps): remove month_year_picker. ([e160845e](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/e160845eff9c0fbbdb9c58b73467ece1143ced03))
22+
- **FEAT**(locales): add more copy. ([2f953f78](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/2f953f7856dd9e30b1a8372cb600ac20cbc20bad))
23+
- **FEAT**(locales): add copy for news page. ([c05d2676](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/c05d26764f978e6ed796a02b6ccf2aa7a75c539d))
24+
- **FEAT**(locales): add more copy. ([eae73709](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/eae737094f356192c2170077b6fd979ba330f88b))
25+
- **FEAT**(example): create example for kbki/kbli. ([bc02b75e](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/bc02b75e4c20b3e2a670ed573e652c50e3987246))
26+
- **FEAT**(locale): add kbki & kbli related locale. ([81da46ef](https://github.com/ryanaidilp/stadata_flutter_sdk/commit/81da46ef18823cce0ae006f10215a48adfd68529))

app/example/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ linter:
2323
rules:
2424
# avoid_print: false # Uncomment to disable the `avoid_print` rule
2525
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26+
prefer_const_constructors: true
2627

2728
# Additional information about this file can be found at
2829
# https://dart.dev/guides/language/analysis-options

app/example/android/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gradle-wrapper.jar
77
GeneratedPluginRegistrant.java
88

99
# Remember to never publicly share your keystore.
10-
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
10+
# See https://flutter.dev/to/reference-keystore
1111
key.properties
1212
**/*.keystore
1313
**/*.jks
Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,44 @@
11
plugins {
22
id "com.android.application"
33
id "kotlin-android"
4+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
45
id "dev.flutter.flutter-gradle-plugin"
56
}
67

7-
def localProperties = new Properties()
8-
def localPropertiesFile = rootProject.file('local.properties')
9-
if (localPropertiesFile.exists()) {
10-
localPropertiesFile.withReader('UTF-8') { reader ->
11-
localProperties.load(reader)
12-
}
13-
}
14-
15-
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16-
if (flutterVersionCode == null) {
17-
flutterVersionCode = '1'
18-
}
19-
20-
def flutterVersionName = localProperties.getProperty('flutter.versionName')
21-
if (flutterVersionName == null) {
22-
flutterVersionName = '1.0'
23-
}
24-
258
android {
26-
namespace "stadata.example.app.stadata_example"
27-
compileSdkVersion flutter.compileSdkVersion
28-
ndkVersion flutter.ndkVersion
9+
namespace = "stadata.example.app.stadata_example"
10+
compileSdk = flutter.compileSdkVersion
11+
ndkVersion = flutter.ndkVersion
2912

3013
compileOptions {
31-
sourceCompatibility JavaVersion.VERSION_1_8
32-
targetCompatibility JavaVersion.VERSION_1_8
14+
sourceCompatibility = JavaVersion.VERSION_1_8
15+
targetCompatibility = JavaVersion.VERSION_1_8
3316
}
3417

3518
kotlinOptions {
36-
jvmTarget = '1.8'
37-
}
38-
39-
sourceSets {
40-
main.java.srcDirs += 'src/main/kotlin'
19+
jvmTarget = JavaVersion.VERSION_1_8
4120
}
4221

4322
defaultConfig {
4423
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4524
applicationId "stadata.example.app.stadata_example"
4625
// You can update the following values to match your application needs.
47-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48-
minSdkVersion flutter.minSdkVersion
49-
targetSdkVersion flutter.targetSdkVersion
50-
versionCode flutterVersionCode.toInteger()
51-
versionName flutterVersionName
52-
multiDexEnabled true
26+
// For more information, see: https://flutter.dev/to/review-gradle-config.
27+
minSdk = flutter.minSdkVersion
28+
targetSdk = flutter.targetSdkVersion
29+
versionCode = flutter.versionCode
30+
versionName = flutter.versionName
5331
}
5432

5533
buildTypes {
5634
release {
5735
// TODO: Add your own signing config for the release build.
5836
// Signing with the debug keys for now, so `flutter run --release` works.
59-
signingConfig signingConfigs.debug
37+
signingConfig = signingConfigs.debug
6038
}
6139
}
6240
}
6341

6442
flutter {
65-
source '../..'
66-
}
67-
68-
dependencies {
69-
implementation 'androidx.multidex:multidex:2.0.1'
43+
source = "../.."
7044
}

app/example/android/app/src/main/AndroidManifest.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
android:name=".MainActivity"
88
android:exported="true"
99
android:launchMode="singleTop"
10+
android:taskAffinity=""
1011
android:theme="@style/LaunchTheme"
1112
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1213
android:hardwareAccelerated="true"
@@ -30,4 +31,15 @@
3031
android:name="flutterEmbedding"
3132
android:value="2" />
3233
</application>
34+
<!-- Required to query activities that can process text, see:
35+
https://developer.android.com/training/package-visibility and
36+
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
37+
38+
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
39+
<queries>
40+
<intent>
41+
<action android:name="android.intent.action.PROCESS_TEXT"/>
42+
<data android:mimeType="text/plain"/>
43+
</intent>
44+
</queries>
3345
</manifest>

0 commit comments

Comments
 (0)