Skip to content

Commit 05ca69c

Browse files
authored
Merge pull request #14 from MindscapeHQ/dg/rum-588/prep-repo-for-alpha
Dg/rum 588/prep repo for alpha
2 parents 9eb5640 + 95961f1 commit 05ca69c

File tree

37 files changed

+166
-24001
lines changed

37 files changed

+166
-24001
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ android/local.properties
1111
android/.settings
1212
android/.project
1313
android/.classpath
14+
demo/android/app/build/
15+
demo/android/.gradle/
1416
.jest/
1517
coverage/
1618
release/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
To install the package:
1616

1717
```sh
18-
npm install --save @sundayempire/raygun4reactnative
18+
npm install --save raygun4reactnative
1919
# OR
20-
yarn add @sundayempire/raygun4reactnative
20+
yarn add raygun4reactnative
2121
```
2222

2323
### Additional step - iOS

demo/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ import { Header, Colors } from 'react-native/Libraries/NewAppScreen';
1717

1818
declare const global: { HermesInternal: null | {} };
1919

20-
import RaygunClient from '@sundayempire/raygun4reactnative';
20+
import RaygunClient from 'raygun4reactnative';
2121

2222
RaygunClient.init({
2323
apiKey: '', // YOUR APIKEY
2424
version: '', // YOUR APP VERSION
25+
customCrashReportingEndpoint: '',
26+
customRUMEndpoint: '',
2527
enableNativeCrashReporting: true,
2628
enableRUM: true
2729
});

demo/android/app/_BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ android_library(
3535

3636
android_build_config(
3737
name = "build_config",
38-
package = "com.awesometsproject",
38+
package = "com.raygun4reactnativedemo",
3939
)
4040

4141
android_resource(
4242
name = "res",
43-
package = "com.awesometsproject",
43+
package = "com.raygun4reactnativedemo",
4444
res = "src/main/res",
4545
)
4646

demo/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ android {
129129
}
130130

131131
defaultConfig {
132-
applicationId "com.awesometsproject"
132+
applicationId "com.raygun4reactnativedemo"
133133
minSdkVersion rootProject.ext.minSdkVersion
134134
targetSdkVersion rootProject.ext.targetSdkVersion
135135
versionCode 1

demo/android/app/src/debug/java/com/awesometsproject/ReactNativeFlipper.java renamed to demo/android/app/src/debug/java/com/raygun4reactnativedemo/ReactNativeFlipper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
55
* directory of this source tree.
66
*/
7-
package com.awesometsproject;
7+
package com.raygun4reactnativedemo;
88

99
import android.content.Context;
1010
import com.facebook.flipper.android.AndroidFlipperClient;

demo/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.awesometsproject">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.raygun4reactnativedemo">
22
<uses-permission android:name="android.permission.INTERNET" />
33
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme">
44
<service android:name="com.raygun.raygun4android.services.CrashReportingPostService" android:exported="false" android:permission="android.permission.BIND_JOB_SERVICE" android:process=":crashreportingpostservice" />

demo/android/app/src/main/java/com/awesometsproject/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.awesometsproject;
1+
package com.raygun4reactnativedemo;
22

33
import com.facebook.react.ReactActivity;
44

@@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
1010
*/
1111
@Override
1212
protected String getMainComponentName() {
13-
return "AwesomeTSProject";
13+
return "Raygun4ReactNativeDemo";
1414
}
1515
}

demo/android/app/src/main/java/com/awesometsproject/MainApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.awesometsproject;
1+
package com.raygun4reactnativedemo;
22

33
import android.app.Application;
44
import android.content.Context;
@@ -62,7 +62,7 @@ private static void initializeFlipper(
6262
We use reflection here to pick up the class that initializes Flipper,
6363
since Flipper library is not available in release mode
6464
*/
65-
Class<?> aClass = Class.forName("com.awesometsproject.ReactNativeFlipper");
65+
Class<?> aClass = Class.forName("com.raygun4reactnativedemo.ReactNativeFlipper");
6666
aClass
6767
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
6868
.invoke(null, context, reactInstanceManager);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">AwesomeTSProject</string>
2+
<string name="app_name">Raygun4ReactNativeDemo</string>
33
</resources>

0 commit comments

Comments
 (0)