bugfender / rn-bugfender Goto Github PK
View Code? Open in Web Editor NEWBugfender for React Native
Home Page: https://bugfender.com
License: Apache License 2.0
Bugfender for React Native
Home Page: https://bugfender.com
License: Apache License 2.0
Hi,
I am getting the issue Unable to find module with Gradle path ':@bugfender/rn-bugfender'
when compiling for Android.
Specs
Android Studio 3.0
react-native 0.51.0
rn-bugfinder 1.0.0
Possible Reason
When linking the library, the module name contains /
like: @bugfender/rn-bugfender
which seems to be deprecated: docs
Solution
A solution would maybe be to change the name of the library.
Provisionally it is possible to compile it with just a few changes, changing :@bugfender/rn-bugfender
to rn-bugfender
In settings.gradle
Replace:
include ':@bugfender/rn-bugfender'
project(':@bugfender/rn-bugfender').projectDir = new File(rootProject.projectDir, '../node_modules/@bugfender/rn-bugfender/android')
With this:
include ':rn-bugfender'
project(':rn-bugfender').projectDir = new File(rootProject.projectDir, '../node_modules/@bugfender/rn-bugfender/android')
And under dependencies
Replace:
compile project(':@bugfender/rn-bugfender')
With this:
compile project(':rn-bugfender')
I am getting this error after building the project:
Failed to load Info.plist from bundle at path .../CoreSimulator/Devices/B9A32448-39BA-4CCF-A777-99AD9FA83FED/data/Library/Caches/com.apple.mobile.installd.staging/temp.35Ua1g/extracted/MyApp/Frameworks/BugfenderSDK.framework
Hi there, this error happens when we try to init the library on a NextJS app using React Native Web on the _app.tsx entry point.
We tried transpiling the modules using the next.config.js but it didn't work either.
import { Bugfender } from '@bugfender/rn-bugfender';
Bugfender.init({
appKey: 'MY_APP_KEY'
})
Or
import { Bugfender } from '@bugfender/sdk';
Bugfender.init({
appKey: 'MY_APP_KEY'
})
Transpiling the packages in the next.config.js.
Without transpiling the '@bugfender/rn-bugfender' module.
Using a react app using webpack it works fine, apparently, something is happening with the NextJS config.
Just recently upgraded our React Native app from 0.68.2 to 0.71.8 and React to 18.2.0, and along with that updated Bugfender to 2.2.1.
When in the iOS simulator (Android has no issues), I am getting a native error every time I make a JS change and metro/the app does a hot reload:
We were previously on version 2.1.1
After downgrading back to 2.1.1, the error went away at first, but then started to come back again, leading me now to believe it might be a .71 upgrade compatibility issue?
Do you have any plans to make this package compatible with Cocoapods? I believe is not a good practice keep huge files (such as BugfenderSDK.framework) inside your source code, it makes your repository bigger than it should be.
Thank you for making such a great tool like Bugfender available for React Native!!!
After the integration of Bugfender via your library this just happened while archiving the project:
ld: '/Users/.../Library/Developer/Xcode/DerivedData/igp-dalegoduhtiafmchyvwfdwnbnayb/Build/Intermediates.noindex/ArchiveIntermediates/igp/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/BugfenderSDK/BugfenderSDK.framework/BugfenderSDK' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/.../Library/Developer/Xcode/DerivedData/igp-dalegoduhtiafmchyvwfdwnbnayb/Build/Intermediates.noindex/ArchiveIntermediates/igp/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/BugfenderSDK/BugfenderSDK.framework/BugfenderSDK' for architecture arm64
I wonder if I should just disable bitcode in the build settings as in XCode 14 it will be deprecated anyways. (I'm on 13.2)
Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.
https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @bugfender/[email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@bugfender/rn-bugfender/RNBugfender.podspec b/node_modules/@bugfender/rn-bugfender/RNBugfender.podspec
index 2f67262..5abf95f 100644
--- a/node_modules/@bugfender/rn-bugfender/RNBugfender.podspec
+++ b/node_modules/@bugfender/rn-bugfender/RNBugfender.podspec
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
s.source_files = 'ios/*.{h,m}'
s.dependency 'React'
- s.dependency 'BugfenderSDK', '~> 1.9'
+ s.dependency 'BugfenderSDK', '~> 1.10.2'
end
This issue body was partially generated by patch-package.
When you enable fabric and New Architecture in your RN app, RN Bugfender tries to import a file that does not exist and the iOS install process throws an error:
RNRnBugfenderSpec.h' file not found (RnBugfender.mm:6:9)
The error is caused by the following import statement in RnBugfender.mm file:
#ifdef RCT_NEW_ARCH_ENABLED
#import "RNRnBugfenderSpec.h"
#endif
If you disable this import the build process fails on facebook::react
in the next block that is supposed to run in New Architecture:
#ifdef RCT_NEW_ARCH_ENABLED
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
(const facebook::react::ObjCTurboModule::InitParams &)params
{
return std::make_shared<facebook::react::NativeRnBugfenderSpecJSI>(params);
}
#endif
Please advise what can be done if we want to enable RN New Architecture in our project and continue to use Bugfender at the same time.
We're using:
"@bugfender/rn-bugfender": "^2.1.2",
"react-native": "0.71.3",
"react-native-reanimated": "^3.0.0",
"react-native-screens": "^3.20.0",
"react-native-gesture-handler": "^2.9.0",
Thank you!
Logging an object with rn-bugfender I get:
com.facebook.bridge.ReadableNativeMap cannot be cast to java.lang.String
I kno I can JSON.stringify my object before logging, but, what a shame... :-(
After strictly following the installation steps on the Readme, and then attempting to build, I get this preprocessing error:
'React/RCTBridgeModule.h' file not found
This react native project is ejected from expo, using Expo SDK v32.0.0, and the latest version of BugfenderSDK.framework
I'm getting a 'BFLogInterceptor.h' file not found error on Xcode 14.3 and RN 0.71.6 wth RnBugfender v. 2.1.2 and BugfenderSDK v. 1.12.0 on iOS.
This just started happening to me recently on Xcode 14.3 and RN 0.71.6. I can't find a workaround for this so far.
EDIT: I found a workaround.
My iOS project builds without errors when I change line 20 in RnBugfender.podspec
file from
s.dependency 'BugfenderSDK', '~> 1.10' #
to
s.dependency 'BugfenderSDK', '1.10'
essentially pinning BugfenderSDK to v. 1.10.0 instead of downloading the latest v. 1.12.0.
There is something not working with BugfenderSDK v. 1.12.0 and RnBugfender v. 2.1.2. But everything compiles fine when I pin the SDK version to 1.10.0.
Hi,
I have recently installed Bugfender via the recommended React Native installation from your repo, and everything was working fine and as expected when I built the app in both iOS and Android, (my iOS working scheme was in a debug build with debug executable checked).
When I attempt to do a scheme with a release build configuration in Xcode without debug executable, I get a build failure with the error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Bugfender", referenced from:
objc-class-ref in libRNBugfender.a(RNBugfender.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This happens under the Link ReactMobile(i386) task during the build.
So far none of my research has come up with a way forward: any help, ideas, or strategies to get this operational would be greatly appreciated.
Thanks for your time.
Hi!
We're having trouble installing Bugfender on React Native 0.63.2.
We are using cocoapods since before.
What we do is
After this building the iOS app using
error: Multiple commands produce '...Build/Products/Debug-iphonesimulator/cocoapods-artifacts-Debug.txt':
It seems we can get rid of the problem by removing the generated "Prepare Artifacts"-step under our appTests target (leaving it in the app target). But running pod install after this will add the "Prepare Artifacts"-step again. We're thinking it might be added by the automatic linking?
Any ideas on what to do?
Hi,
I am trying to add Bugfender in a react native app. I have followed the installation instructions, but I get this error when trying to log with a statement like this:
Bugfender.i('NISSE-I', message);
Error I get is:
TypeError: _rnBugfender.default.i is not a function. (In '_rnBugfender.default.i('NISSE-I', message)', '_rnBugfender.default.i' is undefined)
.
React Native: 0.63.3
Client OS & Version: iOS 14.2, on iPad
Any idea what could be going wrong?
Google Pixel 3XL
Android 9.0
rn-bugfender version 1.14
We've encountered some weird crash, which may not be related directly to Bugfnder.
It happens on app startup. Here's the stack trace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{my.app/com.bugfender.sdk.ui.FeedbackActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class android.widget.ImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Method.java:-2)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Have you seen it before? Would you need any other details?
The Bugfender react native module seems to be missing support for log level Info
and Fatal
that exists on iOS SDK and in the Bugfender dashboard
im getting this error when trying to pod install :
[!] CocoaPods could not find compatible versions for pod "BugfenderSDK":
In Podfile:
RNBugfender (from ../node_modules/@bugfender/rn-bugfender
) was resolved to 1.1.4, which depends on
BugfenderSDK (~> 1.9)
Specs satisfying the BugfenderSDK (~> 1.9)
dependency were found, but they required a higher minimum deployment target.
is there a way to solve it ?
/Users/edu/.asdf/installs/ruby/3.1.2/bin/pod install
yarn add @bugfender/rn-bugfender
cd ios && pod install
I expected the pods to be installed successfully.
Installing pods failed with the next error (for the full stacktrace, you can check the Error section below):
LoadError - dlopen(/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle
CocoaPods : 1.11.3
Ruby : ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
RubyGems : 3.3.7
Host : macOS 12.3 (21E230)
Xcode : 13.1 (13A1030d)
Git : git version 2.37.1
Ruby lib dir : /Users/edu/.asdf/installs/ruby/3.1.2/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
inhibit_all_warnings!
target 'DemoApp' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
target 'DemoAppTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
end
end
flipper_post_install(installer)
end
end
target 'DemoApp-tvOS' do
# Pods for DemoApp-tvOS
target 'DemoApp-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
LoadError - dlopen(/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi.rb:5:in `rescue in <top (required)>'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi.rb:2:in `<top (required)>'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/ethon-0.15.0/lib/ethon.rb:3:in `<top (required)>'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:440:in `download_typhoeus_impl_async'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:372:in `download_and_save_with_retries_async'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:365:in `download_file_async'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:338:in `download_file'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:284:in `ensure_versions_file_loaded'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:208:in `search'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:165:in `search_for'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `each'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by!'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:in `require_nested_dependencies_for'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in `activate_new_spec'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/Users/edu/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/Users/edu/.asdf/installs/ruby/3.1.2/bin/pod:25:in `load'
/Users/edu/.asdf/installs/ruby/3.1.2/bin/pod:25:in `<main>'
i just had this gradle sync error in my new project with rn 0.61.2
and needed to change this form 9 to 16.
so i opened this issue for you to maybe consider change it at next version
I am not getting any logs on iOS devices. Logging is working fine on Android.
What I did:
yarn add @bugfender/rn-bugfender
pod install
Bugfender.init("our_secret_app_key");
to index.jsAfter these steps I can see logs from Android devices but no logs from iOS.
Manual steps listed in the library are outdated. New React Native versions have auto linking, and no libraries are being added to Podfile, so your recommended Podfile cannot be used.
Also, Bugdfender iOS SDK is on v.1.10.2 and React Native binding repo is still on v1.9. This needs to be updated.
I'm on React Native v0.64.2, React 17.0.2. My Podfile targets iOS 11.
android/app/src/main/res/values/styles.xml:4:5-10:13: AAPT: error: style attribute 'android:attr/forceDarkAllowed' not found.
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@bugfender%2frn-bugfender - Not found
Getting the above error while installing this library.
Thanks for making Bugfender work with react native, its really good !
my suggestion is to add the ability to insert array of parameters , to the log funtioins (aka .d or .debug) like console.log, to make it easier. in console.log, you can add multiple parameters and it would print them all, while in bugfender it looks like it can get exactly 2. its not a big deal, but when you build an app and using console.log so its more convenient to send the same params to bugfender as well. (so you can actually e.g use 1 function for their both).
Hi.
We are using RN version of BugFender. As per our package.json current version installed is 1.0.0, but available also 1.1.0
What were changes? Can we have changelog?
I have been getting the following error since upgrading xCode several months ago...
Exception '[<__NSDictionaryI 0x60000179a560> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key userId.' was thrown while invoking setDeviceString on target RNBugfender with params (
userId,
"c02c10-bc-4699-9e4-e9cb9950"
)
When I run app with simulator everything is ok, but when I'm going to device it stacks. my logs from xcode are next
2022-01-21 21:31:37.769097+0400 App[69332:6403676] - <AppMeasurement>[I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2022-01-21 21:32:39.494513+0400 App[69332:6403676] Task <4678D17E-A3A4-47AD-BD63-BF913E51D40C>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x283209050 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4678D17E-A3A4-47AD-BD63-BF913E51D40C>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <4678D17E-A3A4-47AD-BD63-BF913E51D40C>.<1>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://172.16.3.155:8081/status, NSErrorFailingURLKey=http://172.16.3.155:8081/status, _kCFStreamErrorDomainKey=4}
2022-01-21 21:32:39.515861+0400 App[69332:6403483] [native] Running application App ({
initialProps = {
};
rootTag = 1;
})
2022-01-21 21:32:39.568123+0400 App[69332:6404135] 8.10.0 - [Firebase/Analytics][I-ACS023007] Analytics v.8.10.0 started
2022-01-21 21:32:39.568519+0400 App[69332:6404135] 8.10.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2022-01-21 21:32:39.569049+0400 App[69332:6403680] 8.10.0 - [Firebase/Analytics][I-ACS025036] App Delegate Proxy is disabled
2022-01-21 21:32:39.569116+0400 App[69332:6403680] 8.10.0 - [Firebase/Analytics][I-ACS023013] Analytics collection disabled
2022-01-21 21:32:39.569477+0400 App[69332:6403680] 8.10.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001011] App Delegate Proxy is disabled.
2022-01-21 21:33:39.712633+0400 App[69332:6404138] Task <6AAB576A-7E93-4E08-98A2-668B1E30EA87>.<2> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x2832d5170 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <6AAB576A-7E93-4E08-98A2-668B1E30EA87>.<2>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <6AAB576A-7E93-4E08-98A2-668B1E30EA87>.<2>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://172.16.3.155:8081/status, NSErrorFailingURLKey=http://172.16.3.155:8081/status, _kCFStreamErrorDomainKey=4}
2022-01-21 21:33:39.736454+0400 App[69332:6403483] NfcManager created
2022-01-21 21:33:39.739686+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:33:39.740828+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:33:39.741234+0400 App[69332:6403675] [connection] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-01-21 21:33:39.741284+0400 App[69332:6403675] TCP Conn 0x280b40210 Failed : error 0:61 [61]
2022-01-21 21:33:39.746696+0400 App[69332:6403483] [native] Invalidating <RCTCxxBridge: 0x107205e80> (parent: <RCTBridge: 0x2817433a0>, executor: RCTWebSocketExecutor)
2022-01-21 21:33:39.749727+0400 App[69332:6403676] [connection] nw_socket_handle_socket_event [C4.1:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:33:39.751591+0400 App[69332:6403676] [connection] nw_socket_handle_socket_event [C4.2:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:33:39.751894+0400 App[69332:6403675] [connection] nw_connection_get_connected_socket [C4] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-01-21 21:33:39.751943+0400 App[69332:6403675] TCP Conn 0x280b554a0 Failed : error 0:61 [61]
2022-01-21 21:33:49.749494+0400 App[69332:6404127] [native] Timed out waiting for modules to be invalidated
2022-01-21 21:34:02.016092+0400 App[69332:6404139] XPC connection interrupted
2022-01-21 21:34:40.428795+0400 App[69332:6403675] Task <D301A083-42EF-4863-A2A6-6BC6CD31B0BC>.<3> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x28322aca0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D301A083-42EF-4863-A2A6-6BC6CD31B0BC>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <D301A083-42EF-4863-A2A6-6BC6CD31B0BC>.<3>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://172.16.3.155:8081/status, NSErrorFailingURLKey=http://172.16.3.155:8081/status, _kCFStreamErrorDomainKey=4}
2022-01-21 21:34:40.456237+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.458252+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C6.2:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.458419+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C7.1:2] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.458772+0400 App[69332:6404138] [connection] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-01-21 21:34:40.458839+0400 App[69332:6404138] TCP Conn 0x280b5c0b0 Failed : error 0:61 [61]
2022-01-21 21:34:40.459223+0400 App[69332:6405450] [native] Connection to http://localhost:8081/debugger-proxy?role=client timed out. Are you running node proxy? If you are running on the device, check if you have the right IP address in `RCTWebSocketExecutor.m`.
2022-01-21 21:34:40.459714+0400 App[69332:6404138] [native] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2022-01-21 21:34:40.461404+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C7.2:2] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.461800+0400 App[69332:6404139] Connection 7: received failure notification
2022-01-21 21:34:40.461946+0400 App[69332:6404139] Connection 7: failed to connect 1:61, reason -1
2022-01-21 21:34:40.461976+0400 App[69332:6404139] Connection 7: encountered error(1:61)
2022-01-21 21:34:40.462552+0400 App[69332:6404139] Task <AAAEC700-9862-4815-9228-939C241DE742>.<4> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])
2022-01-21 21:34:40.462903+0400 App[69332:6403675] Task <AAAEC700-9862-4815-9228-939C241DE742>.<4> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x28320b600 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: lo0, _kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <AAAEC700-9862-4815-9228-939C241DE742>.<4>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <AAAEC700-9862-4815-9228-939C241DE742>.<4>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=http://localhost:8081/launch-js-devtools, NSErrorFailingURLKey=http://localhost:8081/launch-js-devtools, _kCFStreamErrorDomainKey=1}
2022-01-21 21:34:40.478187+0400 App[69332:6403483] NfcManager created
2022-01-21 21:34:40.480445+0400 App[69332:6404139] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 93 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 93 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}
2022-01-21 21:34:40.670809+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C8.1:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.671665+0400 App[69332:6404139] [connection] nw_socket_handle_socket_event [C8.2:1] Socket SO_ERROR [61: Connection refused]
2022-01-21 21:34:40.671787+0400 App[69332:6403676] [connection] nw_connection_get_connected_socket [C8] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-01-21 21:34:40.671865+0400 App[69332:6403676] TCP Conn 0x280b516b0 Failed : error 0:61 [61]
2022-01-21 21:34:40.685617+0400 App[69332:6403483] [native] Connection to http://localhost:8081/debugger-proxy?role=client timed out. Are you running node proxy? If you are running on the device, check if you have the right IP address in `RCTWebSocketExecutor.m`.
2022-01-21 21:35:53.049324+0400 App[69332:6403683] dnssd_clientstub write_all(21) DEFUNCT
2022-01-21 21:35:53.049444+0400 App[69332:6403683] dnssd_clientstub deliver_request ERROR: write_all(21, 66 bytes) failed
2022-01-21 21:35:53.049664+0400 App[69332:6403683] dnssd_clientstub write_all(21) DEFUNCT
Also in my podfile target ios version is 13.3 and it should not be lower/
Logging with react-native, logged method name is always java.lang.reflect.Method.invoke
, not really useful. Is it possible to override calling method, passing the real js calling method?
Something like arguments.callee.toString().substr('function '.length);
I am unable to update my project because of this library.
Please update it to React Native version 0.70.6
Hello,
I couldn't find the method getDeviceIdentifier or another method what can get bugfender id.
Please help!
I've noticed this error in the build log although we are on the latest version: 2.1.2
There's a new Bugfender SDK version. Please check bugfender.com.
Does the iOS library need to be updated?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.