Skip to content

Instantly share code, notes, and snippets.

@AndrewJack
AndrewJack / template.md
Last active June 24, 2019 11:35 — forked from Salakar/template.md
React Native Firebase showcase template.

About

You only need to fill out what you feel comfortable sharing with us, this will be kept private unless you give permission for us to showcase your app(s).

  • Company
  • How long have you've used RNFB for?
    • One year
  • Application Name (duplicate if necessary for multiple apps)
  • DRIVETRIBE & Joyride
@AndrewJack
AndrewJack / build.gradle
Created February 14, 2017 09:40
React Native Android Library SDK Versions
subprojects {
ext {
compileSdk = 25
buildTools = "25.0.1"
minSdk = 19
targetSdk = 25
}
afterEvaluate { project ->
if (!project.name.equalsIgnoreCase("app")
@AndrewJack
AndrewJack / react.gradle
Last active November 6, 2020 21:49
Build variant support for react native Android apps
import org.apache.tools.ant.taskdefs.condition.Os
def config = project.hasProperty("react") ? project.react : [];
def bundleAssetName = config.bundleAssetName ?: "index.android.bundle"
def entryFile = config.entryFile ?: "index.android.js"
// because elvis operator
def elvisFile(thing) {
return thing ? file(thing) : null;