-
Notifications
You must be signed in to change notification settings - Fork 10
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
John Peruzzi
committed
Aug 1, 2018
1 parent
655da7d
commit f3d6ad2
Showing
18,296 changed files
with
2,849,534 additions
and
334 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,7 @@ | ||
{ | ||
"hostType": "tunnel", | ||
"lanType": "ip", | ||
"dev": true, | ||
"minify": false, | ||
"urlRandomness": null | ||
} |
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
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
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,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id="android" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="java-gradle" name="Java-Gradle"> | ||
<configuration> | ||
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" /> | ||
<option name="BUILDABLE" value="false" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
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,171 @@ | ||
buildscript { | ||
repositories { | ||
maven { url 'https://maven.fabric.io/public' } | ||
} | ||
|
||
dependencies { | ||
classpath 'io.fabric.tools:gradle:1.+' | ||
} | ||
} | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'io.fabric' | ||
apply plugin: 'com.neenbedankt.android-apt' | ||
|
||
repositories { | ||
maven { url 'https://maven.fabric.io/public' } | ||
} | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion '26.0.1' | ||
|
||
defaultConfig { | ||
applicationId 'com.ncent.mobilewallet' | ||
targetSdkVersion 25 | ||
versionCode 5 | ||
versionName '0.0.5' | ||
ndk { | ||
abiFilters 'armeabi-v7a', 'x86' | ||
} | ||
multiDexEnabled true | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
// Deprecated. Used by net.openid:appauth | ||
manifestPlaceholders = [ | ||
'appAuthRedirectScheme': 'host.exp.exponent' | ||
] | ||
} | ||
dexOptions { | ||
javaMaxHeapSize System.getenv("DISABLE_DEX_MAX_HEAP") ? null : "8g" | ||
} | ||
productFlavors { | ||
// Define separate dev and prod product flavors. | ||
dev { | ||
// dev utilizes minSDKVersion = 21 to allow the Android gradle plugin | ||
// to pre-dex each module and produce an APK that can be tested on | ||
// Android Lollipop without time consuming dex merging processes. | ||
minSdkVersion 21 | ||
} | ||
devRemoteKernel { | ||
minSdkVersion 21 | ||
} | ||
dev19 { | ||
// For debugging / development on older SDK versions. Increases build | ||
// time so use 'dev' if not running on older SDKs. | ||
minSdkVersion 19 | ||
} | ||
prod { | ||
// The actual minSdkVersion for the application. | ||
minSdkVersion 19 | ||
} | ||
} | ||
buildTypes { | ||
debug { | ||
debuggable true | ||
} | ||
release { | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
zipAlignEnabled true | ||
} | ||
} | ||
signingConfigs { | ||
debug { | ||
storeFile file('../debug.keystore') | ||
} | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
packagingOptions { | ||
pickFirst "**" | ||
} | ||
} | ||
|
||
// Don't use modern jsc-android since it still has some critical bugs that | ||
// crash applications when the string for the JS bundle is loaded and when | ||
// locale-specific date functions are called. | ||
// configurations.all { | ||
// resolutionStrategy { | ||
// force 'org.webkit:android-jsc:r216113' | ||
// } | ||
// } | ||
|
||
|
||
apply from: 'expo.gradle' | ||
|
||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
|
||
compile 'com.android.support:multidex:1.0.1' | ||
|
||
// Our dependencies | ||
compile 'com.android.support:appcompat-v7:26.0.1' | ||
|
||
// Our dependencies from ExpoView | ||
// DON'T ADD ANYTHING HERE THAT ISN'T IN EXPOVIEW. ONLY COPY THINGS FROM EXPOVIEW TO HERE. | ||
compile 'com.android.support:appcompat-v7:26.0.1' | ||
compile 'com.facebook.android:facebook-android-sdk:4.7.0' | ||
compile('com.facebook.android:audience-network-sdk:4.22.1') { | ||
exclude module: 'play-services-ads' | ||
} | ||
provided 'org.glassfish:javax.annotation:3.1.1' | ||
compile 'com.jakewharton:butterknife:7.0.1' | ||
compile 'de.greenrobot:eventbus:2.4.0' | ||
compile 'com.amplitude:android-sdk:2.9.2' // Be careful when upgrading! Upgrading might break experience scoping. Check with Jesse. See Analytics.resetAmplitudeDatabaseHelper | ||
compile 'com.squareup.picasso:picasso:2.5.2' | ||
compile 'com.google.android.gms:play-services-gcm:9.8.0' | ||
compile 'com.google.android.gms:play-services-analytics:9.8.0' | ||
compile 'com.google.android.gms:play-services-maps:9.8.0' | ||
compile 'com.google.android.gms:play-services-auth:9.8.0' | ||
compile 'com.google.android.gms:play-services-location:9.8.0' | ||
compile 'com.google.android.gms:play-services-ads:9.8.0' | ||
apt 'com.raizlabs.android:DBFlow-Compiler:2.2.1' | ||
compile "com.raizlabs.android:DBFlow-Core:2.2.1" | ||
compile "com.raizlabs.android:DBFlow:2.2.1" | ||
compile "com.madgag.spongycastle:core:1.53.0.0" | ||
compile "com.madgag.spongycastle:prov:1.53.0.0" | ||
debugCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1' | ||
// debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1' | ||
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1' | ||
compile 'com.facebook.device.yearclass:yearclass:1.0.1' | ||
compile 'commons-io:commons-io:1.3.2' | ||
compile 'me.leolin:ShortcutBadger:1.1.4@aar' | ||
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' | ||
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.7' | ||
compile 'com.yqritc:android-scalablevideoview:1.0.1' | ||
compile 'commons-codec:commons-codec:1.10' | ||
compile 'com.segment.analytics.android:analytics:4.3.0' | ||
compile 'com.google.zxing:core:3.2.1' | ||
compile 'net.openid:appauth:0.4.1' | ||
compile 'com.airbnb.android:lottie:2.2.0' | ||
compile 'io.branch.sdk.android:library:2.6.1' | ||
compile('io.nlopez.smartlocation:library:3.2.11') { | ||
transitive = false | ||
} | ||
compile 'com.android.support:exifinterface:26.0.1' | ||
compile 'com.squareup.okhttp3:okhttp:3.4.1' | ||
compile 'com.squareup.okhttp3:okhttp-urlconnection:3.4.1' | ||
compile 'com.squareup.okhttp3:okhttp-ws:3.4.1' | ||
compile 'com.squareup.okio:okio:1.9.0' | ||
|
||
// Testing | ||
androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.1' | ||
// We use a modified build of com.android.support.test:runner:1.0.1. Explanation in maven-test/README | ||
androidTestCompile 'com.android.support.test:runner:1.0.1' | ||
androidTestCompile 'com.android.support:support-annotations:26.0.1' | ||
androidTestCompile 'com.google.code.findbugs:jsr305:3.0.0' | ||
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' | ||
androidTestCompile 'com.azimolabs.conditionwatcher:conditionwatcher:0.2' | ||
|
||
|
||
|
||
compile('host.exp.exponent:expoview:27.0.0@aar') { | ||
transitive = true | ||
} | ||
|
||
|
||
} | ||
|
||
// This has to be down here for some reason | ||
apply plugin: 'com.google.gms.google-services' |
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,81 @@ | ||
// Gradle script for detached apps. | ||
|
||
import org.apache.tools.ant.taskdefs.condition.Os | ||
|
||
void runBefore(String dependentTaskName, Task task) { | ||
Task dependentTask = tasks.findByPath(dependentTaskName); | ||
if (dependentTask != null) { | ||
dependentTask.dependsOn task | ||
} | ||
} | ||
|
||
afterEvaluate { | ||
def expoRoot = file("../../") | ||
def inputExcludes = ["android/**", "ios/**"] | ||
|
||
task exponentPrebuildStep(type: Exec) { | ||
workingDir expoRoot | ||
if (Os.isFamily(Os.FAMILY_WINDOWS)) { | ||
commandLine "cmd", "/c", ".\\android\\detach-scripts\\run-exp.bat" | ||
} else { | ||
commandLine "./android/detach-scripts/run-exp.sh", "prepare-detached-build", "--platform", "android", expoRoot | ||
} | ||
} | ||
runBefore("preBuild", exponentPrebuildStep) | ||
|
||
// Based on https://github.com/facebook/react-native/blob/master/react.gradle | ||
// Grab all build types and product flavors | ||
def buildTypes = android.buildTypes.collect { type -> type.name } | ||
def productFlavors = android.productFlavors.collect { flavor -> flavor.name } | ||
|
||
// When no product flavors defined, use empty | ||
if (!productFlavors) productFlavors.add("") | ||
|
||
productFlavors.each { productFlavorName -> | ||
buildTypes.each { buildTypeName -> | ||
// Create variant and target names | ||
def flavorNameCapitalized = "${productFlavorName.capitalize()}" | ||
def buildNameCapitalized = "${buildTypeName.capitalize()}" | ||
def targetName = "${flavorNameCapitalized}${buildNameCapitalized}" | ||
def targetPath = productFlavorName ? | ||
"${productFlavorName}/${buildTypeName}" : | ||
"${buildTypeName}" | ||
|
||
def assetsDir = file("$buildDir/intermediates/assets/${targetPath}") | ||
|
||
// Bundle task name for variant | ||
def bundleExpoAssetsTaskName = "bundle${targetName}ExpoAssets" | ||
|
||
def currentBundleTask = tasks.create( | ||
name: bundleExpoAssetsTaskName, | ||
type: Exec) { | ||
description = "Expo bundle assets for ${targetName}." | ||
|
||
// Create dirs if they are not there (e.g. the "clean" task just ran) | ||
doFirst { | ||
assetsDir.mkdirs() | ||
} | ||
|
||
// Set up inputs and outputs so gradle can cache the result | ||
inputs.files fileTree(dir: expoRoot, excludes: inputExcludes) | ||
outputs.dir assetsDir | ||
|
||
// Set up the call to exp | ||
workingDir expoRoot | ||
|
||
if (Os.isFamily(Os.FAMILY_WINDOWS)) { | ||
commandLine("cmd", "/c", ".\\android\\detach-scripts\\run-exp.bat", "bundle-assets", expoRoot, "--platform", "android", "--dest", assetsDir) | ||
} else { | ||
commandLine("./android/detach-scripts/run-exp.sh", "bundle-assets", expoRoot, "--platform", "android", "--dest", assetsDir) | ||
} | ||
|
||
enabled targetName.toLowerCase().contains("release") || targetName.toLowerCase().contains("prod") | ||
} | ||
|
||
currentBundleTask.dependsOn("merge${targetName}Resources") | ||
currentBundleTask.dependsOn("merge${targetName}Assets") | ||
|
||
runBefore("process${targetName}Resources", currentBundleTask) | ||
} | ||
} | ||
} |
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,3 @@ | ||
#Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public. | ||
#Sun Dec 13 13:22:06 PST 2015 | ||
apiSecret=83176563693e1eefa1a91359c4151b88c3fd17e52ddf6d64416b7f1e0fa9cede |
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,50 @@ | ||
{ | ||
"project_info": { | ||
"project_id": "exponent-5dd6d", | ||
"project_number": "367315174693", | ||
"name": "Exponent Play Services" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:367315174693:android:f968efbb41d1fa7a", | ||
"client_id": "android:host.exp.exponent", | ||
"client_type": 1, | ||
"android_client_info": { | ||
"package_name": "com.ncent.mobilewallet", | ||
"certificate_hash": "" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "" | ||
} | ||
], | ||
"services": { | ||
"analytics_service": { | ||
"status": 2, | ||
"analytics_property": { | ||
"tracking_id": "UA-76673608-1" | ||
} | ||
}, | ||
"cloud_messaging_service": { | ||
"status": 2, | ||
"apns_config": [] | ||
}, | ||
"appinvite_service": { | ||
"status": 1, | ||
"other_platform_oauth_client": [] | ||
}, | ||
"google_signin_service": { | ||
"status": 1 | ||
}, | ||
"ads_service": { | ||
"status": 1 | ||
} | ||
} | ||
} | ||
], | ||
"client_info": [], | ||
"ARTIFACT_VERSION": "1" | ||
} |
Oops, something went wrong.