Skip to content

Commit

Permalink
Merge pull request #76 from MindscapeHQ/js/bug-fixes
Browse files Browse the repository at this point in the history
Minor bug fixes
  • Loading branch information
redJ4y authored Nov 17, 2023
2 parents c59dcd4 + c3dee1e commit 2d1dcc2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ docker/
*.plist
&.DS_Store
.idea
/sdk/android/.gradle
1 change: 1 addition & 0 deletions sdk/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

android {
namespace 'com.raygun.react'
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
defaultConfig {
Expand Down
4 changes: 0 additions & 4 deletions sdk/android/src/main/AndroidManifest.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ public void initRealUserMonitoringNativeSupport() {
realUserMonitoringInitialized = true;
}

@ReactMethod
public void addListener(String eventName) {
// Dummy method to silence NativeEventEmitter warnings in React Native.
// No implementation required.
}

@ReactMethod
public void removeListeners(Integer count) {
// Dummy method to silence NativeEventEmitter warnings in React Native.
// No implementation required.
}

/**
* This class is designed to implement CrashReportingOnBeforeSend interface from the
* Raygun4Android SDK. Before Sending some CrashReport, this handler will ensure that the crash
Expand Down
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "raygun4reactnative",
"title": "Raygun4reactnative",
"version": "1.2.6",
"version": "1.3.0",
"description": "Raygun React Native SDK",
"main": "dist/index.js",
"typescript": {
Expand Down
6 changes: 3 additions & 3 deletions sdk/raygun4reactnative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Pod::Spec.new do |s|
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "MindscapeHQ" => "[email protected]" }
s.platforms = { :ios => "10.0" }
s.platforms = { :ios => "12.0" }
s.source = { :git => "https://github.com/hunteva/raygun4reactnative.git", :branch => "kerwin/refactory/storage" }

s.source_files = "ios/**/*.{h,c,m,swift}"
s.requires_arc = true

s.dependency "React"
s.dependency "raygun4apple", '~> 1.5.1'
s.dependency "React-Core"
s.dependency "raygun4apple", '~> 2.0.0'

end

0 comments on commit 2d1dcc2

Please sign in to comment.