Browse Source

chore: update keystore configuration, change default language to Persian, and update application ID

develop
Ali Gopal Pour 2 weeks ago
parent
commit
0a2e1de76b
  1. 2
      android/app/build.gradle.kts
  2. 8
      android/keystore.properties
  3. BIN
      bazaar_keystore/bazaar.keystore
  4. 2
      lib/core/constants/my_constants.dart
  5. 1
      lib/features/app/presentation/bloc/app_bloc.dart
  6. 2
      lib/features/app/presentation/bloc/app_state.dart

2
android/app/build.gradle.kts

@ -34,7 +34,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.newhorizon.hadihoda"
applicationId = "com.ofoghno.hadihoda"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 24

8
android/keystore.properties

@ -1,4 +1,4 @@
storePassword=Realhadihoda313
keyPassword=Realhadihoda313
keyAlias=upload
storeFile=upload-keystore.jks
storePassword=123456789
keyPassword=123456789
keyAlias=newhorizon
storeFile=../../bazaar_keystore/bazaar.keystore

BIN
bazaar_keystore/bazaar.keystore

2
lib/core/constants/my_constants.dart

@ -28,7 +28,7 @@ class MyConstants {
static const double questionAudioVolume = 1.0;
static const double musicAudioVolume = 0.3;
static const double effectAudioVolume = 0.2;
static const String defaultLanguage = 'en';
static const String defaultLanguage = 'fa';
static const List<LanguageEntity> languages = [
LanguageEntity(displayName: '', code: 'en', title: ''),
LanguageEntity(displayName: '', code: 'de', title: ''),

1
lib/features/app/presentation/bloc/app_bloc.dart

@ -1,5 +1,4 @@
import 'dart:async';
import 'dart:ui';
import 'package:bloc/bloc.dart';
import 'package:hadi_hoda_flutter/core/constants/my_constants.dart';

2
lib/features/app/presentation/bloc/app_state.dart

@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
class AppState {
final Locale locale;
const AppState({this.locale = const Locale('en', 'US')});
const AppState({this.locale = const Locale('fa')});
AppState copyWith({Locale? locale}) {
return AppState(locale: locale ?? this.locale);

Loading…
Cancel
Save