Skip to content

Instantly share code, notes, and snippets.

View bramski's full-sized avatar

Bram Whillock bramski

  • Apply Digital, Crux Coding
  • Squamish, BC
View GitHub Profile
@bramski
bramski / Tipsi-Stripe Build Failure
Created July 4, 2019 21:58
Tipsi-Stripe Build Failure
➜ zo-react-native git:(feature/TSPSP-606-rn-upgrade-59) ✗ react-native run-android --variant=debug --appIdSuffix 'debug'
info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...
> Configure project :app
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.40'
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
apply plugin: "com.android.application"
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.github.gfx.ribbonizer'
import com.android.build.OutputFile
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
* and bundleReleaseJsAndAssets).
➜ zo-react-native git:(feature/TSPSP-532-stripe-sca) ✗ react-native run-android --variant=debug --appIdSuffix 'debug'
info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...
Starting a Gradle Daemon, 2 busy Daemons could not be reused, use --status for details
> Configure project :@react-native-community_async-storage
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
// Top-level build file where you can add configuration options common to all sub-projects/modules.
//uncomment me for React-Native 0.60!
//def useIntlJsc = true
buildscript {
ext.kotlin_version = '1.3.40'
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
10-02 11:28:41.361 1501 3343 I ActivityManager: START u0 {act=null typ=null flg=0x0 cmp=ComponentInfo{com.findyourzo.zomobile.debug/com.stripe.android.view.PaymentAuthWebViewActivity}} from uid 10331
10-02 11:28:41.369 1501 3343 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1728000 uid : 1000 pid : 1501 pkgName : AMS_ACT_START@CPU_MIN@36
10-02 11:28:41.369 1501 3343 D ActivityManagerPerformance: AMP_acquire() ACT_START
10-02 11:28:41.342 13667 13844 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
10-02 11:28:41.373 703 703 I SurfaceFlinger: id=8692 createSurf (5920x5920),2 flag=4, AppWindowToken{68c03be token=Token{1728a79 ActivityRecord{3365b40 u0 com.findyourzo.zomobile.debug/com.stripe.android.view.PaymentAuthWebViewActivity t2009}}}#0
10-02 11:28:41.379 13667 13667 I FIAM.Headless: Removing display event listener
10-02 11:28:41.381 1501 2451 V ActivityManager: Scheduling idle now: forceIdle=trueimmediate=true
10-02 11:28:41.382 1501 2
@bramski
bramski / ADB Stripe Crash
Created October 16, 2019 23:03
ADB Stripe Crash
--------- beginning of crash
--------- beginning of main
--------- beginning of system
10-16 09:19:14.918 11785 11785 D StripeSdk: PaymentAuthWebViewActivity#onCreate
10-16 09:19:14.991 11785 11785 D StripeSdk: PaymentAuthWebViewActivity#onCreate - clientSecret: pi_1FUFDOHZh3IL2Bib6mgh2HHa_secret_l4tsQxNv5B3T83QxkGx0w6U1G
10-16 09:19:14.991 11785 11785 D StripeSdk: PaymentAuthWebView#init()
10-16 09:19:14.992 11785 11785 D StripeSdk: Calling PaymentAuthWebView#init: https://hooks.stripe.com/redirect/authenticate/src_1FUFDOHZh3IL2BibomN1LjUB?client_secret=src_client_secret_G0FiQvTEmZH6wo5Xi7tIYedT
10-16 09:19:15.157 11785 11785 D StripeSdk: PaymentAuthWebViewClient#shouldOverrideUrlLoading() - https://hooks.stripe.com/three_d_secure/authenticate?amount=50&client_secret=src_client_secret_G0FiQvTEmZH6wo5Xi7tIYedT&currency=usd&livemode=false&return_url=https%3A%2F%2Fhooks.stripe.com%2Fredirect%2Fcomplete%2Fsrc_1FUFDOHZh3IL2BibomN1LjUB%3Fclient_secret%3Dsrc_client_secret_G0FiQvTEmZH6wo5Xi7tIYedT&source=src_1FUFDOH