Skip to content

Commit 601293c

Browse files
authored
Merge pull request #19 from getsentry/feature/app-prefix
Add app:// prefix for react-native, Fix docs
2 parents 2542e37 + b618257 commit 601293c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@ In order to use Sentry with cocoapods you have to install the packages with
111111
``npm`` or ``yarn`` and link them locally in your ``Podfile``.
112112

113113
.. sourcecode:: bash
114+
114115
npm install --save react react-native react-native-sentry
115116

116117
After that change your ``Podfile`` to reference to the packages in your
117118
``node_modules`` folder.
118119

119120
.. sourcecode:: ruby
121+
120122
platform :ios, '8.0'
121123
use_frameworks!
122124

lib/raven-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var ASYNC_STORAGE_KEY = '--raven-js-global-error-payload--';
3535
*/
3636
function normalizeUrl(url, pathStripRe) {
3737
return url
38-
.replace(/^file\:\/\//, '')
38+
.replace(/^file\:\/\//, 'app://')
3939
.replace(pathStripRe, '');
4040
}
4141

0 commit comments

Comments
 (0)