This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(....) | |
render() { | |
console.log('listings screen render') | |
const { | |
offers | |
} = this.props | |
return ( | |
<View style={styles.container}> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import MapboxGL from '@mapbox/react-native-mapbox-gl' | |
const CHANGE_REGION_ANIMATION_DURATION = 500 | |
const coordinatesToMapbox = (region = {}) => { | |
const { longitude, latitude } = region | |
if (!longitude || !latitude) { return } | |
return [longitude, latitude] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run this script on yout dSYMS folder | |
import subprocess | |
app_name = "your app name" | |
new_rellic_key = "new rellic key (same as app)" | |
all_dsyms = subprocess.Popen('ls', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | |
for line in all_dsyms.stdout.readlines(): | |
dsym = line.rstrip('\n') | |
zip_file = dsym+'.zip' |