Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function ios(initialProps = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
const context = createStore({});
context.persistor = persistStore(context.store);
export default function expo(initialProps = {}, config = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (config.action === 'start') KeepAwake.activate();
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
const context = createStore({});
export default function expo(initialProps = {}, config = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (config.action === 'start') KeepAwake.activate();
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
export default function android(initialProps = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
const context = createStore({});
export default function ios(initialProps = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
const context = createStore({});
export default function android(initialProps = {}) {
if (!config.options.debug) {
ignoreWarnings(config.ignore.warnings || []);
ignoreWarnings('error', config.ignore.errors || []);
}
if (
config.options.verbose ||
config.options.debug ||
config.level === 'trace'
) {
setLevel('trace');
} else if (config.env === 'development') {
setLevel('debug');
} else {
setLevel(config.level);
}
if (config !== 'production') window.reactant = { config };
registerConfig(config);
const context = createStore({});
context.persistor = persistStore(context.store);