Commit ee645f0a by Mobile : Art

update2812

parents
{
"flutterSdkVersion": "3.3.2",
"flavors": {}
}
\ No newline at end of file
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Web related
lib/generated_plugin_registrant.dart
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
.fvm/flutter_sdk
\ No newline at end of file
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: 5464c5bac742001448fe4fc0597be939379f88ea
channel: stable
project_type: app
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="dev" type="FlutterRunConfigurationType" factoryName="Flutter" activateToolWindowBeforeRun="false">
<option name="buildFlavor" value="dev" />
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
<method v="2" />
</configuration>
</component>
\ No newline at end of file
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="prd" type="FlutterRunConfigurationType" factoryName="Flutter" activateToolWindowBeforeRun="false">
<option name="buildFlavor" value="prd" />
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
<method v="2" />
</configuration>
</component>
\ No newline at end of file
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "dev",
"request": "launch",
"type": "dart",
"args": [
"--flavor",
"dev"
]
},
{
"name": "sit",
"request": "launch",
"type": "dart",
"args": [
"--flavor",
"sit"
]
},
{
"name": "uat",
"request": "launch",
"type": "dart",
"args": [
"--flavor",
"uat"
]
},
{
"name": "prd",
"request": "launch",
"type": "dart",
"args": [
"--flavor",
"prd"
]
},
]
}
\ No newline at end of file
{
// Place your flutter-boilerplate workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
"Create custom page": {
"scope": "dart",
"prefix": "exUseCase",
"body": [
"Future<Either<${2:Left}, Failure>> execute() async {",
"\ttry {",
"\t} catch (err) {",
"\t\tdPrint('${1:UserCaseName} Error : \\$err');",
"\t\treturn Right(Failure(errMessage: '\\$err',",
"\t\t));",
"\t}",
"}",
],
"description": "Create custom page"
},
}
\ No newline at end of file
# boilerplate
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
constant_identifier_names: false
unnecessary_this: false
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
**/*.keystore
**/*.jks
source "https://rubygems.org"
gem "fastlane"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.5)
rexml
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.632.0)
aws-sdk-core (3.150.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.58.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.5.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.8.1)
emoji_regex (3.2.3)
excon (0.92.4)
faraday (1.10.2)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.210.1)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-firebase_app_distribution (0.3.6)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.27.0)
google-apis-core (>= 0.7.2, < 2.a)
google-apis-core (0.9.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.14.0)
google-apis-core (>= 0.7.2, < 2.a)
google-apis-playcustomapp_v1 (0.10.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-storage_v1 (0.17.0)
google-apis-core (>= 0.7, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.3.0)
google-cloud-storage (1.41.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.17.0)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (1.2.0)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.6.1)
json (2.6.2)
jwt (2.5.0)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
naturally (2.2.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (5.0.0)
rake (13.0.6)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.17.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
CFPropertyList
naturally
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
DEPENDENCIES
fastlane
fastlane-plugin-firebase_app_distribution
BUNDLED WITH
2.1.4
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
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.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
compileSdkVersion 33
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
applicationId "th.go.ipthailand.ipmartapp"
minSdkVersion 22 // flutter.minSdkVersion
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled = true;
}
lintOptions {
checkReleaseBuilds false
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.release
}
}
flavorDimensions "app"
productFlavors {
// dev {
// dimension "app"
// applicationIdSuffix ""
// resValue "string", "app_name", "IP-Mart"
// }
// sit {
// dimension "app"
// applicationIdSuffix ""
// resValue "string", "app_name", "IP-Mart"
// }
//
// uat {
// dimension "app"
// applicationIdSuffix ""
// resValue "string", "app_name", "IP-Mart"
// }
// prd {
// dimension "app"
// applicationIdSuffix ""
// resValue "string", "app_name", "IP-Mart"
// }
// }
//
// productFlavors {
dev {
dimension "app"
resValue "string", "app_name", "IP-Mart DEV"
}
sit {
dimension "app"
applicationIdSuffix ".sit"
resValue "string", "app_name", "IP-Mart SIT"
}
uat {
dimension "app"
applicationIdSuffix ".uat"
resValue "string", "app_name", "IP-Mart UAT"
}
prd {
dimension "app"
resValue "string", "app_name", "IP-Mart"
}
}
}
flutter {
source '../..'
}
dependencies {
def work_version = "2.7.0"
implementation "androidx.work:work-runtime:$work_version"
implementation "androidx.work:work-runtime-ktx:$work_version"
implementation platform('com.google.firebase:firebase-bom') // add this
implementation 'com.google.firebase:firebase-messaging:23.0.0'
implementation 'com.google.firebase:firebase-iid:21.1.0' // add this
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.multidex:multidex:2.0.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'com.google.android.gms:play-services-base:17.6.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'androidx.window:window:1.0.0'
implementation 'androidx.window:window-java:1.0.0'
configurations.all {
resolutionStrategy {
force "androidx.work:work-runtime:$work_version"
}
}
}
\ No newline at end of file
{
"project_info": {
"project_number": "1041093659279",
"project_id": "ipmart-bdc5a",
"storage_bucket": "ipmart-bdc5a.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1041093659279:android:ebe1dacda9d3c880e53efa",
"android_client_info": {
"package_name": "th.go.ipthailand.ipmart"
}
},
"oauth_client": [
{
"client_id": "1041093659279-9rihktmj3t9otq94oob7276up5gd577n.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "th.go.ipthailand.ipmart",
"certificate_hash": "500fa75d6b0e988966ebd2116c9fe3143990ea06"
}
},
{
"client_id": "1041093659279-bkh17r4mlghvch2gnjf1kghjfbah5pkm.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDIqx4aRJqp-m2eQ0oD928LC-LPYLDCGhY"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1041093659279-bkh17r4mlghvch2gnjf1kghjfbah5pkm.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "1041093659279-73ojjrjq40ta8p2u5f2e0c4jqhk7689d.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "th.go.ipthailand.ipmart",
"app_store_id": "123456789"
}
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:1041093659279:android:adc630c2d5ce03cbe53efa",
"android_client_info": {
"package_name": "th.go.ipthailand.ipmartapp"
}
},
"oauth_client": [
{
"client_id": "1041093659279-quoa2rj7dvuqsmr6t7jn33vmfrgqt930.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "th.go.ipthailand.ipmartapp",
"certificate_hash": "500fa75d6b0e988966ebd2116c9fe3143990ea06"
}
},
{
"client_id": "1041093659279-bkh17r4mlghvch2gnjf1kghjfbah5pkm.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDIqx4aRJqp-m2eQ0oD928LC-LPYLDCGhY"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1041093659279-bkh17r4mlghvch2gnjf1kghjfbah5pkm.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "1041093659279-73ojjrjq40ta8p2u5f2e0c4jqhk7689d.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "th.go.ipthailand.ipmart",
"app_store_id": "123456789"
}
}
]
}
}
}
],
"configuration_version": "1"
}
\ No newline at end of file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="th.go.ipthailand.ipmartapp">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
{
"project_info": {
"project_number": "284091547537",
"project_id": "ipmart-5bc00",
"storage_bucket": "ipmart-5bc00.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:284091547537:android:98630cdb574a4b6135e430",
"android_client_info": {
"package_name": "th.go.ipthailand.ipmart"
}
},
"oauth_client": [
{
"client_id": "284091547537-dnfh0rqhni3f2s7qikdehoe1fmcckg5t.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyArhXH8_NIR8zuHZ8pKGLEp2L1LGkXRojc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "284091547537-dnfh0rqhni3f2s7qikdehoe1fmcckg5t.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
\ No newline at end of file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="th.go.ipthailand.ipmartapp">
<uses-permission android:name="android.permission.INTERNET" />
<!-- <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL"/>-->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
<application
android:label="@string/app_name"
android:name="${applicationName}"
android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round">
<meta-data
android:exported="true"
tools:replace="android:exported"
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="high_importance_channel" />
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"
android:exported="true"
tools:replace="android:exported">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver"
android:exported="true"
tools:replace="android:exported"/>
<service android:name="io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService" android:exported="true" tools:replace="android:exported"/>
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
tools:node="merge"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<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>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
<intent-filter>default_notification_channel_id
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="google_analytics_automatic_screen_reporting_enabled" android:value="false" />
<meta-data
android:exported="true"
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@mipmap/ic_launcher" />
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
package th.go.ipthailand.ipmartapp
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel
class MainActivity: FlutterActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
handlerMethodChannel(flutterEngine)
}
private fun handlerMethodChannel(flutterEngine: FlutterEngine){
//get flavor name
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "native").setMethodCallHandler {
_, result -> result.success(BuildConfig.FLAVOR)
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<resources>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="th.go.ipthailand.ipmartapp">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
-----BEGIN CERTIFICATE-----
MIIDPTCCAiWgAwIBAgIELD8DVTANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwI2
NjELMAkGA1UECBMCMmYxCzAJBgNVBAcTAjJmMQswCQYDVQQKEwIyZjELMAkGA1UE
CxMCMmYxCzAJBgNVBAMTAjJmMCAXDTIzMDMyNDEwNDkxN1oYDzIwNTAwODA5MTA0
OTE3WjBOMQswCQYDVQQGEwI2NjELMAkGA1UECBMCMmYxCzAJBgNVBAcTAjJmMQsw
CQYDVQQKEwIyZjELMAkGA1UECxMCMmYxCzAJBgNVBAMTAjJmMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhGw9DdUODNll5xF53kmX5MmtTugWhtq6HGMj
U1ngy0SYmeMppDXWQMs2ovloJng2sZuOK5YY9mfFOZtrnAjOA8MO0gp+RjYV6b2b
9LrDMrIm89avB1Wrfk2HByicFe0HPIN30UhkQalOr3Ug2uDkbv0clhSLeTOd+2s2
oIzlG0jzn/Wjok+EujgEtflrP11Tx4QkyzXdkawVFjz7/PB8SEgVX1zFP33hzDjm
Ft8H+K3Kg7pccD0UvHQvq3o6Bf4zq3dOPjYqen44IEisi1VYdNXsDd/A8ZV7GKmV
rafn1lnwO20VPPhX34Sh/K4fKgdQDT7VlP2RjImwFcHltCRyXQIDAQABoyEwHzAd
BgNVHQ4EFgQUOyh1IQcRyu1VLuub1Unm1tURMAIwDQYJKoZIhvcNAQELBQADggEB
AEdemqeGuAbmKr+lWLBsXFbzE0geX6GWlO5ZZW4Iki0wOTqRek8ZtCsZQC+l5uqZ
gXfIOG90QyumHxoTE7ofmaD3ln8sLBtyYYEuCzmPpEoXOlMqrMF+BzhCyOroRORo
D5Wvw6J6jE7e1gmirreshivyL7hFxKl0ZLzDrTTZv9uu+ArVNFyLCrBcAWc9ytTQ
vvzFLVFj2rW/mkYPoI+2olqC9Qlba7vRYCK6/KqTJAewULDZUpiGWLZypUqqwETq
cFBYIkNV/CyA1iYma6LCnCoepKeVj9LESxh7Y7OByDBE5fLxikH8QS7eMNYMSwy5
JqDSFulHbsQq/46aG4uID4I=
-----END CERTIFICATE-----
buildscript {
ext.kotlin_version = '1.7.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.8'
}
}
allprojects {
repositories {
google()
mavenCentral()
google() // Google's Maven repository
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("") # e.g. com.krausefx.app
default_platform(:android)
platform :android do
desc "Deploy DEV"
lane :dev do
sh('cd ..')
sh('fvm flutter pub get')
sh('fvm flutter build apk --release --flavor dev')
firebase_app_distribution(
app: "1:284091547537:android:98630cdb574a4b6135e430",
groups: "IPMartTester",
apk_path: "../build/app/outputs/apk/dev/release/app-dev-release.apk",
firebase_cli_token: "",
)
end
end
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
gem 'fastlane-plugin-firebase_app_distribution'
fastlane documentation
----
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```sh
xcode-select --install
```
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
# Available Actions
## Android
### android dev
```sh
[bundle exec] fastlane android dev
```
Deploy DEV
----
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000411">
</testcase>
<testcase classname="fastlane.lanes" name="1: cd .." time="0.022522">
</testcase>
<testcase classname="fastlane.lanes" name="2: fvm flutter pub get" time="8.030345">
</testcase>
<testcase classname="fastlane.lanes" name="3: fvm flutter build apk --release --flavor dev" time="136.371059">
</testcase>
<testcase classname="fastlane.lanes" name="4: firebase_app_distribution" time="14.493546">
</testcase>
</testsuite>
</testsuites>
#org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
org.gradle.jvmargs=-Xmx4608m
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
<!-- Bootstrap & Jquery CDN -->
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<df-messenger
intent="WELCOME"
chat-title="คุยกับ IPmart"
agent-id="c551c95c-40e4-41db-a944-5a6bd9bccd2c"
language-code="th"
expand ="true"
></df-messenger>
<style>
df-messenger {
--df-messenger-bot-message: #878fac;
--df-messenger-button-titlebar-color: #df9b56;
--df-messenger-chat-background-color: #fafafa;
--df-messenger-font-color: white;
--df-messenger-send-icon: #878fac;
--df-messenger-user-message: #479b3d;
}
</style>
<script>
//To minimise the height of chatbox
$(document).ready(function() {
window.addEventListener('dfMessengerLoaded', function (event) {
const dfMessenger = document.querySelector('df-messenger');
document.querySelector('df-messenger').shadowRoot.querySelector('.df-messenger-wrapper').querySelector('#widgetIcon').style.display = "none"
$r1 = document.querySelector("df-messenger");
$r2 = $r1.shadowRoot.querySelector("df-messenger-chat");
var sheet = new CSSStyleSheet;
// manage box height from here
sheet.replaceSync( `div.chat-wrapper[opened="true"] { height:90%;width:99% }`);
$r2.shadowRoot.adoptedStyleSheets = [ sheet ];
});
$("#show-hide").click(function(event){
const dfMessenger = document.querySelector('df-messenger');
if(dfMessenger.style.display =="none") {
dfMessenger.style.display = "block";
}else{
dfMessenger.style.display = "none"
}
});
});
</script>
'''
\ No newline at end of file
{
"type": "service_account",
"project_id": "farmtech-fh9j",
"private_key_id": "3db6e0409c7153d0e0291aad7a71bfbba63e773d",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCf7ODfAh9DWwps\ndOVSrS1pn6b2r8iK8sRmY4suiDHC5o4jtbLyA9c2Gc2Qvc8PvmwRqd015ZmCgR5H\nj93VILXVCzYipcltu5gaN9jsw8phatxz1eq2nZlcm0pbeGhqWYZv2D2zyj7WEPSy\nAnFaug05qtAi3EVWApv7YwR3IKrcxaI7fKhQAwu6ed79RiW9UqKz7GEwcFcUamT5\nn82FfpcPikm333f3A7P/TAQhdiyhJnTtFQ9Kr109lxaszaZUGEwAC2A60NIFo+W/\nUtAOfiOq5xZGFKIquiXprqXWMLbvZa4dV5wcg6RU4RTmiGYLi0AdlOjYlL4gA42K\niOx5N+QtAgMBAAECggEAJOwA7KumQRwzN1/zk9dkjSatWvWxdJbgzgy8VOVfq7Ij\n7c2kvygw1w40/e48cFOTyq4vYqKcAtvBfF8UJYD0SffZKz2gWAO/9YmgPOVlA4Gy\n3NFt63RONGmrzJtra+Y4WfkQIcKXKD/o5nIW7o3WwNIVVH8LSPS4Q10UalZx7B8c\n/tVZWQjetN1G1ieh9enmt5rvnkMyX2CNcKDrp6Ghcw5K7RLgc1kb+ZcTZuVFsfRl\n5lHnLpd+YZKdhVqqT7TmPrwCZXIX7t6X297Jtp5UbWp5qv92KDJdaNbhPVD4nPI8\nCPhqTFMPrnYXoLnI4SaAuj6fiAvBgRU5xdCLoWBIVwKBgQDbQ5xP9wnea9PH/jcT\nZhiaAXr7R817j1TZxQxE2VOBoQ4ETILIjpsbo4vEoZs9j05e0hSx9UN1NPhBFCko\nf+I6/LC+6vB1m+jkqpfGb/kJiBr6IMDpMuqx2ImSAiZ1OThKkBgNP4Jw4Hh4iqgl\nzHRu4U9yguNFjjCgG+ZLx9QGywKBgQC6uC+GcCqPkk9dnoz+Kdnci6tebU4JtXD2\ndpkydWDTuL/Utm25AX6x6XEzTzed/wlZj0inKW+2tll/LjudB9Ze6qFgbTcGSPt/\nU4IAKa6LqVEycjT4AdwzTeOoMRf0RcrVUsADuv+6mTzY2VxWKIMYdCirSjENJpFK\ndGhqzkXp5wKBgQCVKnzn5c9f8olEUIzVdKqd8w3gbyu6uHroH+bF2/e0g4XOpOKA\nYIvjFLMcVTkQezK8zTzpCEsZLK0LURTjCYU1zfzMFXb6+9NH5UqV5E1PD7oSmj/D\nJjGGRiLpIu9Y5lGGYFsMgD1UX1F16BaWiG5ZlIyBAcxt4FryQai9uzdiWwKBgDB1\ntxfsKo+iiGiiyrL4R6u+sBZMxhEs/wloVHBNGHk6nMbnJej7I1enX5LSf3vJAjM1\nRcTkszK3dtjUNfKWYyO1P3bYQYynCmbMVJQYPU3P/tvZ2jd3vB+wmmI/g5kJOBBP\nbrhJIy/Zr3oUR6uwzf1dwGRcWAiytsidF7CIooqHAoGAbNyWbroesc7452EbRWt6\nUybMwr5bXevqNy7ks6liNbrs6k141cZ3YVR5D3OVBi4a2/nu/dsQOaWV0HJaXuQ1\ng/Z8kBTpczVHVO09X/kHFcMqJwjeroaPwDtGflSafMkVzGKIPlxcmfGx8gQQGnz6\n/MEPHAX1eVaUm4koCD55WzM=\n-----END PRIVATE KEY-----\n",
"client_email": "farm-97@farmtech-fh9j.iam.gserviceaccount.com",
"client_id": "109952293840259174129",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/farm-97%40farmtech-fh9j.iam.gserviceaccount.com"
}
\ No newline at end of file
<svg width="13" height="20" viewBox="0 0 13 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 1L1 9.6087L12 18.2174" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg width="20" height="22" viewBox="0 0 20 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17 3H3C1.89543 3 1 3.89543 1 5V19C1 20.1046 1.89543 21 3 21H17C18.1046 21 19 20.1046 19 19V5C19 3.89543 18.1046 3 17 3Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14 1V5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 1V5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1 9H19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.00024 1.5H2.44469L2.73358 2.94444M3.88913 8.72222H11.1114L14.0002 2.94444H2.73358M3.88913 8.72222L2.73358 2.94444M3.88913 8.72222L2.23316 10.3782C1.77818 10.8332 2.10041 11.6111 2.74384 11.6111H11.1114M11.1114 11.6111C10.3136 11.6111 9.66691 12.2578 9.66691 13.0556C9.66691 13.8533 10.3136 14.5 11.1114 14.5C11.9091 14.5 12.5558 13.8533 12.5558 13.0556C12.5558 12.2578 11.9091 11.6111 11.1114 11.6111ZM5.33358 13.0556C5.33358 13.8533 4.68688 14.5 3.88913 14.5C3.09139 14.5 2.44469 13.8533 2.44469 13.0556C2.44469 12.2578 3.09139 11.6111 3.88913 11.6111C4.68688 11.6111 5.33358 12.2578 5.33358 13.0556Z" stroke="#757575" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment