Skip to content

Instantly share code, notes, and snippets.

View jsaguiar's full-sized avatar

João Aguiar jsaguiar

View GitHub Profile
(....)
render() {
console.log('listings screen render')
const {
offers
} = this.props
return (
<View style={styles.container}>
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]
#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'