How to pass -FIRAnalyticsDebugEnabled to Xamarin iOS App? - xamarin.ios

I'm trying to pass the argument -FIRAnalyticsDebugEnabled to my Xamarin iOS App but I seem to not have found the correct place in Xamarin Studio to put it. I tried as additional mtouch argument like
--argument=--app-arg=-FIRAnalyticsDebugEnabled
or
--argument=-FIRAnalyticsDebugEnabled
but neither worked.
I keep seeing this line in the application output:
Firebase Analytics v.3402000 started
To enable debug logging set the following
application argument: -FIRAnalyticsDebugEnabled (see
goo.gl/Y0Yjwu)
The google short link doesn't link anywhere anymore

According to https://bugzilla.xamarin.com/show_bug.cgi?id=43899 the fix seems to be to add the following text to "Extra mlaunch Arguments":
--argument=-FIRAnalyticsDebugEnabled

Related

Custom Plugin for hawtio 2.x

I am trying to write a custom plugin for hawtio 2.x.
The first step that I tried building the entire project (https://github.com/hawtio/hawtio) as instructed in https://github.com/hawtio/hawtio/blob/master/BUILDING.md
Later, I tried the example (springboot sample) located at https://github.com/hawtio/hawtio/tree/master/examples/springboot
The example seems to run fine, except for the fact that I do not see a trace of the sample plugin written in this application (https://github.com/hawtio/hawtio/blob/master/examples/springboot/src/main/webapp/app/sample-plugin/js/sample-plugin.js)
Right now, I am not trying to do fancy stuffs. I am simply trying to run this sample application and see how the plugin works.
Below is the screenshot of the web console. I have also checked in the browser console. I do not see any traces of the initialization of this plugin.
Am I missing something specific?

Xamarin iOS - Firebase Analytics is not available

I have download the example project and library from this link: Xamarin Firebase but after 2 days of configuration i get this error when i launch the app:
[Firebase/Core][I-COR000022] Firebase Analytics is not available.
I did not find documentation related to this error for Xamarin iOS Firebase Analytics and can not find a solution.
I have reference the same library of the example project, checked the GoogleService-Info.plist and insert it in the project as documentation, called the App.Configure ();.
Nothing to do, does anyone have any idea?
Resolved!
Firebase Analytics requires 3 references to work:
.Core
.Analytics
.IstanceID
Following only the code in the documentation the project at start-up load only .Core skipping the other two, this causes the error.
To work around this problem, I added in AppDelegate:
using Firebase.Analytics;
using Firebase.InstanceID;
and before of App.Configure (); i have add this two line to force the app to load the two assemblies:
Firebase.Analytics.Loader loader1 = new Firebase.Analytics.Loader();
Firebase.InstanceID.Loader loader2 = new Firebase.InstanceID.Loader();
Of course, if you implement other instructions later using these two assemblies, you will not need these two instructions.

vstirbu/InstagramPlugin on Steroids

I am attempting to use vstirbu's Instagram plugin (https://github.com/vstirbu/InstagramPlugin) for Cordova with my app. My app is using the Appgyver Steroids platform. after adding the plugin to my build the app builds fine and I am able to install it on the phone fine. there is only one page where the Instagram functionality is needed and when that page is opened I get the "undefined is not an object (evaluating 'window.plugins.Instagram.share')" error. are there other Instagram plugins available that I might try out or are there steps to initialize the plug in that I might be missing.
I am assuming you built a debug scanner version with the plugin. I had this issue with a BLE plugin. I was trying to reference the plugin as window.plugins.nameOfPluginObject and it didn't exist. It didn't exist that way, but it did exist as nameOfPluginObject. I could make calls to it that way. nameOfPluginObject.someMethod();.
See if you can debug the app in Safari / Chrome and use the console to type typeof window.plugins.Instagram and then typeof Instagram. I am guessing typeof Instagram returns object and the other returns undefined.
Is Cordova loaded in that page? Are you making the calls after deviceready (although if it's the console, I suppose you're alright). The plugin JavaScripts are loaded when cordova.js loads. Also, you can extract the IPA file (just rename it to .zip) and see if the plugin files are correctly in the package (although if it builds correctly, it should be fine).

IAPClientPaymentException: Application ID initialization fails j2me nokia

I just want to know, what can make the IAP prompt this kind of exception "com.nokia.mid.payment.IAPClientPaymentException: Application ID initialization fails" when you test it in the emulator.
Another related question: The documentation says to remove the TEST_MODE.TXT file when pointing it to live server. I removed the text but now I get Security Exception. Whats the workaround for this? I am using java sdk 2.0 and the emulator that came with it.

Spotify apps dead after update?

I was developing a Spotify apps and all of the sudden Spotify restarted and updated.
Yey, great.. I got version 0.8.3.222.g317ab79d... however typing spotify:app:the_app_name doesnt work anymore. I get metadataFailed, sorry I could not find this app.
Anyone knows where I can find a downgrade?
Spotify 0.8.3 changed the app lookup slightly. The URI for getting at apps in development is now spotify:app:application-identifier-in-manifest.
This changes the behaviour in old versions, which used the application's directory name to load applications. It's also worth noting that your application must have a valid identifier and version in its manifest.json file. Remember to restart the client when changing your manifest so it notices the changes!
The keys you need to set are BundleIdentifier (which will be used to find the app) and BundleVersion. Documentation on the keys can be found here.
When you check spotify.com you can see there is a be right back message this indicated either server or application failures just hold for a few minutes/hours and return to developing after message is gone.

Resources