is there any experience using Crashlytics reporting system for xamarin.mac application? I tried to create binding library, I got an exception :
"Native linking failed with error code 1"
I'm not sure how binding library will work. any experience?
Here's some info that may be of use:
Fabric Kits available to use with Xamarin:
Answers Crashlytics Digits For Xamarin.Forms, Xamarin.Android and
Xamarin.iOS.
For iOS, you need to create a application with the same bundle id on
XCode as the one on your Xamarin app. Then, use the Fabric Mac app to
add your app and complete the Kits on-boarding process.
For Android, you need to create a application with the same package
name on android studio as the one on your Xamarin app. Then, use the
Fabric Mac app to add your app and complete the Kits on-boarding
process.
After that, you can follow the instructions on
https://www.fabric.io/kits to configure your projects.
For crashlytics on android, there is a hidden configuration, you need
to add/update the build id using a string resource
<string
name="com.crashlytics.android.build_id">e9e6beb9c4284289ac68b9ab76a9ee56</string>
Or else you'll get a crash on startup.
There is a Sample available on Samples folder.
On iOS, Crashlytics shouldn't be used with Answers. Crashlytics
includes Answers, so you should use either.
Code is available on https://github.com/drungrin/Fabric.Sdk.Xamarin
Nuget packages are also published:
https://www.nuget.org/packages/Fabric/
https://www.nuget.org/packages/Answers/
https://www.nuget.org/packages/Crashlytics/
https://www.nuget.org/packages/Digits/
Source: https://forums.xamarin.com/discussion/68256/fabric-crashlytics-answers-and-digits-for-xamarin-forms-xamarin-android-and-xamarin-ios
Mike from Fabric here.
At this time Fabric does not have support for Xamarin based projects. If that changes, I'll update my answer!
a more detailed instruction following the same answer as #CMash answer could be found here
Related
I have been dealing with the same issue for a few days now. I'm unable to upload any app store connect files due to the libAgoraRTMWrapper file. To be clear, this entire app has been built through Unity using agora SDK. The reason for failure, according to XCode, is that the wrapper "doesn't have the correct file type for this location". Invalid Swift support.
This leads me to wonder if the libagoraRTMWrapper is even necessary. Yes, I would like to keep using RTM but not at the expense of several build failures.
As a sidenote, XCode does mention that the build is being made for iOS but the wrapper was built for iOS + iOS simulator. I don't remember ever specifying that but it could just be the way the SDK was initially imported.
this library is necessary for RTM to work. Do you have a custom build setting for the project? It is verified that the included SDK Demo works on iOS builds. Perhaps you can build that and compare the build setting to yours to find out what went wrong?
I am a beginner in Xamarin forms. I have installed the plugin
https://github.com/jamesmontemagno/StoreReviewPlugin
I haven't found any usage documents on how to initialize/ how to do the setup for using the plugin when i looked on the web.
How can I display the prompt to the user using this plugin?
I just did a test and you do not need any additional steps to use this plugin.
Install this plugin through manage nuget packages and the in your project:
Use the namespace:
using Plugin.StoreReview;
Use the method:
CrossStoreReview.Current.OpenStoreListing("appid");
You need to test with a real device instead of a simulator.
The Store Review Nuget plugin has been updated to v3 recently thanks to the new (August 2020) Android native Play Core library so that it displays an In-App Review on both iOS & Android:
https://devblogs.microsoft.com/xamarin/android-in-app-reviews/
So now, initializing and setup is a lot easier and you don't need to pass the appid anywhere, it will be shown directly in the app
To my understanding, Nativescript takes the javascript (or typescript) + nativescript code and creates project files for both android and ios in order to be able to run them as native apps. I also know that these files all seem to be located in the Resources directory. However when I try to run a simulator from the xcode project that is created, it fails.
I don't want to know how to fix the simulator failure, I just want to know if it's possible for a swift developer to take the xcode project created by Nativescript and continue developing as a regular native app.
If so, is this possible with the android project as well?
Please check this out
https://www.nativescript.org/blog/using-nativescript-in-an-existing-native-ios-android-applications
The two articles explain in detail how you can embed the NativeScript runtimes in native Objective-C and Android applications.
I have a Xamarin cross-platform project which contains an Android and an iOS app. Now I want add new UWP project, but there certain packages which are not compatible with UWP but are compitible with Android and IOS.
Packages like: NControl.dll, NGraphics.dll
At the time of my writing this answer, UWP is not supported for those packages; but there are open Pull Requests to add UWP support to both NControl & NGraphics:
NControl: https://github.com/chrfalch/NControl/pull/71
NGraphics: https://github.com/praeclarum/NGraphics/pull/63
As such, you can likely track these pull requests to get an idea of if & when that support is added. I cannot speculate on a timeframe or any certainty of whether or not these pull requests will be approved eventually; for example it is possible support could be added from other pull requests instead.
Short Version: I'm having issues while archiving my application. The debug works, the archive doesn't. There is nothing to troubleshoot, anyone has ideas?
Log Version:
I have a hybrid worklight app, fully functional and archiving was working just fine until I've added MQA and I'm using iOS.
Versions are:
Worklight 6.2, MQA 6.3, Xcode 6.1, and iOS 8.1.2
Now I've added MQA following the steps here.
I've copied the framework into my project directory and added in the other_linked_flags a force load for it.
I've also added a few lines of code to for it to work following the same instructions. Basically everything works just fine when I run it from xcode. When I run the app that xcode deploys on iphone, it the app runs normally and MQA also works.
I only have some kind of problem when I try to archive the app to deploy it in a ad hoc environment.
When I do that the iPhone screen remains black after asking me which user it should use on the MQA. It seems that it can load the webview but can't load the html app.
Unfortunately this doesn't even generate a crash log an as such I'm left in the dark about what is happening.
Can someone give me some light on what can I do to troubleshoot this issue?
You may be trying to integration the wrong library into your project.
Right now it looks like you are working on a Hybrid app but try adding the native libraries into it, which is incorrect.
If you are working on a Hybrid app, you need to download the Hybrid SDK.
If you are working on a Native iOS app, you need to add the native library
There is a library specific to Hybrid apps. You can find it in the following link: http://www-01.ibm.com/support/knowledgecenter/SSFRDS_6.3.0/com.ibm.mqa.uau.doc/topics/t_download_wrklight_libraries.html?lang=en
All what is required is to do is removing the native library if added, and integrate the worklight SDK into the app code under the common folder in the main.js file.