-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1020009
Showing
50 changed files
with
1,238 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"agcgw":{ | ||
"backurl":"connect-dre.dbankcloud.cn", | ||
"url":"connect-dre.hispace.hicloud.com", | ||
"websocketbackurl":"connect-ws-dre.hispace.dbankcloud.cn", | ||
"websocketurl":"connect-ws-dre.hispace.dbankcloud.com" | ||
}, | ||
"agcgw_all":{ | ||
"CN":"connect-drcn.hispace.hicloud.com", | ||
"CN_back":"connect-drcn.dbankcloud.cn", | ||
"DE":"connect-dre.hispace.hicloud.com", | ||
"DE_back":"connect-dre.dbankcloud.cn", | ||
"RU":"connect-drru.hispace.hicloud.com", | ||
"RU_back":"connect-drru.dbankcloud.cn", | ||
"SG":"connect-dra.hispace.hicloud.com", | ||
"SG_back":"connect-dra.dbankcloud.cn" | ||
}, | ||
"client":{ | ||
"cp_id":"5190090000027633872", | ||
"product_id":"736430079244853160", | ||
"client_id":"585394978386096768", | ||
"client_secret":"3A597CB52CB34FE13211FA1E9BE90F2D5ECB3473EC0F91E2239026ED1AE59370", | ||
"project_id":"736430079244853160", | ||
"app_id":"104023047", | ||
"api_key":"CgB6e3x95gkPyNGM0qtQkZNCY6GjDeUfqDPwSSWO1IR2OdvxpK7UxtbvfUarYHTPmENr11KocjLIJBg7tb6ygj5h", | ||
"package_name":"com.veripark.buildvariantapp" | ||
}, | ||
"service":{ | ||
"analytics":{ | ||
"collector_url":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", | ||
"resource_id":"p1", | ||
"channel_id":"" | ||
}, | ||
"search":{ | ||
"url":"https://search-dre.cloud.huawei.com" | ||
}, | ||
"cloudstorage":{ | ||
"storage_url":"https://ops-dre.agcstorage.link" | ||
}, | ||
"ml":{ | ||
"mlservice_url":"ml-api-dre.ai.dbankcloud.com,ml-api-dre.ai.dbankcloud.cn" | ||
} | ||
}, | ||
"region":"DE", | ||
"configuration_version":"2.0", | ||
"appInfos":[ | ||
{ | ||
"package_name":"com.veripark.buildvariantapp", | ||
"app_id":"104023047" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
plugins { | ||
id 'com.android.application' | ||
id 'kotlin-android' | ||
id 'com.huawei.agconnect' | ||
id 'com.google.gms.google-services' | ||
} | ||
|
||
android { | ||
compileSdkVersion 31 | ||
buildToolsVersion "30.0.3" | ||
|
||
defaultConfig { | ||
applicationId "com.veripark.buildvariantapp" | ||
minSdkVersion 24 | ||
targetSdkVersion 31 | ||
versionCode 1 | ||
versionName "1.0" | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
signingConfigs { | ||
release { | ||
// Signing certificate. | ||
storeFile file('keystores/keystore') | ||
// KeyStore password. | ||
storePassword "huawei" | ||
// Alias. | ||
keyAlias "huawei" | ||
// Key password. | ||
keyPassword "huawei" | ||
v2SigningEnabled true | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.release | ||
} | ||
debug { | ||
signingConfig signingConfigs.release | ||
minifyEnabled false | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
|
||
flavorDimensions "provider" | ||
productFlavors | ||
{ | ||
huawei | ||
{ | ||
dimension "provider" | ||
versionNameSuffix "HMS" | ||
} | ||
|
||
{ | ||
dimension "provider" | ||
versionNameSuffix "GMS" | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||
implementation 'androidx.core:core-ktx:1.7.0' | ||
implementation 'androidx.appcompat:appcompat:1.4.0' | ||
implementation 'com.google.android.material:material:1.4.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.1.2' | ||
|
||
// Huawei Dependencies | ||
huaweiImplementation 'com.huawei.agconnect:agconnect-core:1.5.0.300' | ||
huaweiImplementation 'com.huawei.hms:maps:6.2.1.300' | ||
huaweiImplementation 'com.huawei.hms:push:6.1.0.300' | ||
|
||
// Google Dependencies | ||
googleImplementation 'com.google.android.gms:play-services-maps:18.0.2' | ||
// Import the BoM for the Firebase platform | ||
googleImplementation platform('com.google.firebase:firebase-bom:29.0.3') | ||
// Firebase Cloud Messaging | ||
googleImplementation 'com.google.firebase:firebase-messaging-ktx' | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "861372014528", | ||
"project_id": "build-variants-a93a3", | ||
"storage_bucket": "build-variants-a93a3.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:861372014528:android:17a45cb87af38f54f83225", | ||
"android_client_info": { | ||
"package_name": "com.veripark.buildvariantapp" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "861372014528-inl2h1k78be5cuv97edec135qj8gcp73.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyBxLpX2zXfkzkvHZLBYxmQ_aPijU-Mdmsk" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "861372014528-inl2h1k78be5cuv97edec135qj8gcp73.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.veripark.buildvariantapp"> | ||
|
||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/Theme.BuildVariantApp"> | ||
|
||
<meta-data android:name="com.google.android.geo.API_KEY" | ||
android:value="@string/google_maps_key"/> | ||
|
||
<activity android:name=".MainActivity" | ||
android:exported="true"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<!--<service | ||
android:name=".MyFirebaseInstanceIdService"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> | ||
</intent-filter> | ||
</service>--> | ||
|
||
<service | ||
android:name=".MyFirebaseMessagingService" | ||
android:exported="false"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.MESSAGING_EVENT"/> | ||
</intent-filter> | ||
</service> | ||
|
||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_icon" | ||
android:resource="@drawable/google" /> | ||
<!-- Set color used with incoming notification messages. This is used when no color is set for the incoming | ||
notification message. See README(https://goo.gl/6BKBk7) for more. --> | ||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_color" | ||
android:resource="@color/black" /> | ||
|
||
</application> | ||
|
||
</manifest> |
Oops, something went wrong.