Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RNScreens.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

gamma_project_enabled = ENV['RNS_GAMMA_ENABLED'] == '1'
# Gamma is opt-out: enabled unless RNS_GAMMA_ENABLED is explicitly '0'.
gamma_project_enabled = !(ENV['RNS_GAMMA_ENABLED'] == '0')
new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
debug_logging_enabled = ENV['RNS_DEBUG_LOGGING'] == '1'

Expand Down
3 changes: 2 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ def areDebugLogsEnabled() {
return project.hasProperty("rnsDebugLogsEnabled") && project.rnsDebugLogsEnabled == "true"
}

// Gamma is opt-out: enabled unless rnsGammaEnabled is explicitly "false".
def isGammaEnabled() {
return project.hasProperty("rnsGammaEnabled") && project.rnsGammaEnabled == "true"
return !(project.hasProperty("rnsGammaEnabled") && project.rnsGammaEnabled == "false")
}

def resolveReactNativeDirectory() {
Expand Down
Loading