Skip to content

Instantly share code, notes, and snippets.

View gm4s's full-sized avatar

Guillaume M. gm4s

View GitHub Profile
class NeverErrorTransformer<T>(
private val errorAction: Consumer<Throwable>?
) : ObservableTransformer<T, T> {
constructor() : this(null)
override fun apply(upstream: Observable<T>): ObservableSource<T> {
return upstream
.doOnError { e: Throwable ->
Crashlytics.logException(e)
# This is a configuration file for ProGuard.
# http://proguard.sourceforge.net/index.html#manual/usage.html
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
# Optimization is turned off by default. Dex does not like code run
# through the ProGuard optimize and preverify steps (and performs some
# of these optimizations on its own).
-dontoptimize
-dontpreverify
{
"_self": "myapp://signup/landing",
"_next": {
"state": [
{
"uri": "myapp://signup/gender",
"name": "gender",
"_next": {
"state": [
{
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Settings specified in this file will override any Gradle settings
# configured through the IDE.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
{
"events": [{
"category": "signup",
"tag": "landing ",
"type": "screen",
"platform": "mobile",
"name": "signup_s_landing"
}, {
"category": "signup",
"tag": "terms and condition clicked",