newrelic-mobile-xamarin icon indicating copy to clipboard operation
newrelic-mobile-xamarin copied to clipboard

Monotouch MvvmCross

Open igonzalez3314 opened this issue 10 years ago • 10 comments

Hi Nick,

I'm using MvvmCross v3.

When window.MakeKeyAndVisible is called in AppDelegate FinishedLaunching method, the ViewDidLoad method of the startup view is called time and time again until app crashed.

If I comment NewRelic.NewRelic.StartWithApplicationToken ("mytoken") sentence in AppDelegate FinishedLaunching the app starts correctly.

Any idea will be appreciated.

Iñigo.

igonzalez3314 avatar Jun 20 '14 09:06 igonzalez3314

We are also having this happen, have upgraded to the latest package but no resolution as yet.

markgibaud avatar Jun 20 '14 10:06 markgibaud

I am not familiar with MvvmCross. Could it be doing something that is stepping on NewRelic's toes? The package is very easy to build, I would be curious if an older version of NewRelic works.

Change the version number in the Makefile

https://github.com/nberardi/newrelic-mobile-xamarin/blob/master/ios/Makefile

First clean by calling make clean and then build by typing make.

nberardi avatar Jun 20 '14 11:06 nberardi

I have tried version 3.311 and the new one 3.343. Same result.

I have notice that application runs correctly in iOS Simulator (6.1 and 7.1 version) but it crashes when it is deployed to iPhone.

igonzalez3314 avatar Jun 20 '14 15:06 igonzalez3314

I have 3.289 deployed in production with no problems. Although I am not using MvvmCross either.

nberardi avatar Jun 20 '14 16:06 nberardi

Yes this does seem MvvmCross related - although as Stuart doesn't use New Relic he is not sure what to check either:

https://github.com/MvvmCross/MvvmCross/issues/723

I am going to investigate this further today.

markgibaud avatar Aug 13 '14 10:08 markgibaud

@nberardi can you confirm that this is working for you with the latest Mono version released?

markgibaud avatar Aug 13 '14 16:08 markgibaud

@markgibau, did you resolve this mvvmcross issue?

teiles avatar Nov 20 '14 20:11 teiles

Unfortunately not - we simply removed NewRelic in favour of Raygun, and now also Xamarin Insights. These are better than nothing, but I would still prefer NewRelic to be in there as the dashboard and insights into the data are very good. :-/

New Relic have confirmed that they are discussing Xamarin support but can't confirm that it's on the roadmap.

markgibaud avatar Nov 21 '14 10:11 markgibaud

I'm facing the same issue here, did you guys have any news about it?

I'm using New Relic on my MvvmCross app to collect crash reports and http monitoring but the interactions monitoring is a key feature.

RTodorov avatar Feb 22 '15 23:02 RTodorov

Better to see https://github.com/MvvmCross/MvvmCross/issues/723 for any potential resolution to this issue.

markgibaud avatar Feb 24 '15 14:02 markgibaud