Commit 7d607d25 authored by Trisno's avatar Trisno
parents 696d76d2 02ece2cf
...@@ -15,7 +15,16 @@ import React, { useState, useEffect } from 'react'; ...@@ -15,7 +15,16 @@ import React, { useState, useEffect } from 'react';
import { Text, View } from 'react-native'; import { Text, View } from 'react-native';
import { AppLoading } from 'expo'; import { AppLoading } from 'expo';
import * as Font from 'expo-font'; import * as Font from 'expo-font';
import * as Sentry from 'sentry-expo';
import Constants from 'expo-constants';
Sentry.init({
dsn: 'https://ae2449ac801244d99f170140c7cd6d0a@o392471.ingest.sentry.io/5239999',
enableInExpoDevelopment: true,
debug: true,
});
Sentry.setRelease(Constants.manifest.revisionId);
export const lang = i18n.translations = { export const lang = i18n.translations = {
en: en, en: en,
......
...@@ -32,6 +32,19 @@ ...@@ -32,6 +32,19 @@
"package": "local.ravExcelso", "package": "local.ravExcelso",
"versionCode": 20200327 "versionCode": 20200327
}, },
"description": "" "description": "",
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "ravintola",
"project": "ravintola",
"authToken": "5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3",
"url": "your sentry url here" // OPTIONAL- only necessary when self-hosting Sentry
}
}
]
}
} }
} }
...@@ -70,7 +70,8 @@ ...@@ -70,7 +70,8 @@
"react-redux-i18n": "^1.9.3", "react-redux-i18n": "^1.9.3",
"redux": "^4.0.5", "redux": "^4.0.5",
"redux-persist": "^6.0.0", "redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0" "redux-thunk": "^2.3.0",
"sentry-expo": "^2.0.4"
}, },
"devDependencies": { "devDependencies": {
"babel-preset-expo": "~8.0.0", "babel-preset-expo": "~8.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment