Code Monkey home page Code Monkey logo

nightscouthybridmobile's People

Contributors

aditmer avatar humphreymg64 avatar srmoss avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nightscouthybridmobile's Issues

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2462
-;finalizer_thread;gc.c;791
-;start_wrapper;threads.c;740
-;inner_start_thread;mono-threads-posix.c;92

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.WebException: Error: NameResolutionFailure
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100669240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x10037a7e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100314840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x100313d40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x100313c90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x100313c30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100314380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () <0x100bf8f90 + 0x009fb> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100314840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x100313d40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x100313c90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x100313c30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100314380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.Http.HttpClient+c__async0.MoveNext () <0x100bf7b30 + 0x00363> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Net.WebException: Error: NameResolutionFailure
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100669240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x10037a7e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100314840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x100313d40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x100313c90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x100313c30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100314380 + 0x…

Link to HockeyApp

Alarms not working on eStar Android

I have an eStar tablet. When using the browser-based version of Nightscout, the alarms were only ringing when low but nit high, even though the pillbox with the BG figure was changing colour to highlight the alarm. The alarm was ringing separately on the tablet. I upgraded Nightscout from 0.91 to 0.92 and then it seemed that only the high alrams work!

Anyway, I was also testing what alarms were working with in NightscoutHybridMobile and none were ringing there. It works fine on my HTC One and is probably due to the underlying Nightscout webpage btu if there is anything specific there in the code about alarms then maybe it is worth recording the issue.

Pressing the Speaker Icon does get the alarm to ring momentarily and the alarms are all switched on in the settings. It may be a problem unique to this budget device but thought I should log as we are in beta test mode.

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2444
-;finalizer_thread;gc.c;924
-;start_wrapper;threads.c;760
-;inner_start_thread;mono-threads.c;1181

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) <0x1004073d0 + 0x00038> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () <0x100407140 + 0x00013> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0
at System.Collections.Generic.List1[T].get_Item (System.Int32 index) <0x1002f6440 + 0x00027> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0 at Xamarin.Forms.Application+NavigationImpl+<OnPopModal>d__2.MoveNext () <0x100aa82b0 + 0x000a7> in <b0fc14d4e5b04749b7241d1235a68329#4bf956751be53bb755cf8046c85e3a20>:0 --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) <0x1004073d0 + 0x00038> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () <0x100407140 + 0x00013> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0 at System.Collections.Generic.List1[T].get_Item (System.Int32 index) <0x1002f6440 + 0x00027> in <54e129cad3ee4c61a6b46c3680ddc69a#4bf956751be53bb755cf8046c85e3a20>:0
at Xamarin.Forms.Application+NavigationImpl+d__2.MoveNext () <0x100aa82b0 + 0x000a7> in <b0fc14d4e5b04749b7241d1235a68329#4bf956751be53bb755cf8046c85e3a20>:0 <---
'

Link to HockeyApp

Fix RuntimeException in Camera.native_getParameters

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 android.hardware Camera native_getParameters 1 android.hardware Camera getParameters 2 md5270abb39e60627f0f200893b490a1ade SwitchRenderer n_onCheckedChanged 3 md5270abb39e60627f0f200893b490a1ade SwitchRenderer onCheckedChanged 4 android.widget CompoundButton setChecked 5 android.support.v7.widget SwitchCompat setChecked 6 android.support.v7.widget SwitchCompat toggle 7 android.widget CompoundButton performClick 8 android.view View$PerformClick run 9 android.os Handler handleCallback 10 android.os Handler dispatchMessage 11 android.os Looper loop 12 android.app ActivityThread main 13 java.lang.reflect Method invoke 14 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 15 com.android.internal.os ZygoteInit main 16 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 17 Java.Interop JniEnvironment+InstanceMethods CallObjectMethod 18 Java.Interop JniPeerMembers+JniInstanceMethods InvokeVirtualObjectMethod 19 Android.Hardware Camera GetParameters 20 Lamp.Plugin LampImplementation TurnOff 21 NightscoutMobileHybrid NightscoutMobileHybridPage SwLight_Toggled 22 Xamarin.Forms Switch+<>c <.cctor>b__8_0 23 Xamarin.Forms BindableObject SetValueActual 24 Xamarin.Forms BindableObject SetValueCore 25 Xamarin.Forms BindableObject SetValueCore 26 Xamarin.Forms.Element.Xamarin.Forms IElementController SetValueFromRenderer 27 Xamarin.Forms.Platform.Android.AppCompat.SwitchRenderer.Android.Widget.CompoundButton IOnCheckedChangeListener OnCheckedChanged 28 Android.Widget CompoundButton+IOnCheckedChangeListenerInvoker n_OnCheckedChanged_Landroid_widget_CompoundButton_Z 29 android.hardware Camera native_getParameters 30 android.hardware Camera getParameters 31 md5270abb39e60627f0f200893b490a1ade SwitchRenderer n_onCheckedChanged 32 md5270abb39e60627f0f200893b490a1ade SwitchRenderer onCheckedChanged 33 android.widget CompoundButton setChecked 34 android.support.v7.widget SwitchCompat setChecked 35 android.support.v7.widget SwitchCompat toggle 36 android.widget CompoundButton performClick 37 android.view View$PerformClick run 38 android.os Handler handleCallback 39 android.os Handler dispatchMessage 40 android.os Looper loop 41 android.app ActivityThread main 42 java.lang.reflect Method invoke 43 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 44 com.android.internal.os ZygoteInit main java.lang.reflect 2 

Reason

Java.Lang.RuntimeException: getParameters failed (empty parameters)

Link to HockeyApp

Screen rotation

I would love to be able to rotate the screen. Then I can see the app horizontally while charging.

Fix WebException in HttpWebRequest.EndGetResponse

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 System.Net HttpWebRequest EndGetResponse 1 System.Threading.Tasks TaskFactory`1[TResult] FromAsyncCoreLogic 2 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 3 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 4 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 5 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 6 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 7 System.Net.Http HttpClientHandler+c__async0 MoveNext 8 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 9 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 10 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 11 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 12 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 13 System.Net.Http HttpClient+c__async0 MoveNext 14 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 15 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 16 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 17 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 18 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 19 NightscoutMobileHybrid Webservices+c__async1 MoveNext 20 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 21 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 22 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 23 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 24 System.Runtime.CompilerServices TaskAwaiter GetResult 25 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 26 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 27 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 28 Android.App SyncContext+c__AnonStorey0 <>m__0 29 Java.Lang Thread+RunnableImplementor Run 30 Java.Lang IRunnableInvoker n_Run 31 mono.java.lang RunnableImplementor n_run 32 mono.java.lang RunnableImplementor run 33 android.os Handler handleCallback 34 android.os Handler dispatchMessage 35 android.os Looper loop 36 android.app ActivityThread main 37 java.lang.reflect Method invoke 38 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 39 com.android.internal.os ZygoteInit main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.Net.WebException: Error: NameResolutionFailure

Link to HockeyApp

Fix ArgumentException in SettingsImplementation.AddOrUpdateValue

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Plugin.Settings SettingsImplementation AddOrUpdateValue 1 Plugin.Settings SettingsImplementation AddOrUpdateValue[T] 2 NightscoutMobileHybrid ApplicationSettings set_AlarmUrgentMins 3 NightscoutMobileHybrid Webservices+c__async1 MoveNext 4 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 5 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 6 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 7 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 8 System.Runtime.CompilerServices TaskAwaiter GetResult 9 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 10 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 11 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 12 Android.App SyncContext+c__AnonStorey0 <>m__0 13 Java.Lang Thread+RunnableImplementor Run 14 Java.Lang IRunnableInvoker n_Run 15 mono.java.lang RunnableImplementor n_run 16 mono.java.lang RunnableImplementor run 17 android.os Handler handleCallback 18 android.os Handler dispatchMessage 19 android.os Looper loop 20 android.app ActivityThread main 21 java.lang.reflect Method invokeNative 22 java.lang.reflect Method invoke 23 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 24 com.android.internal.os ZygoteInit main 25 dalvik.system NativeStart main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.ArgumentException: Value of type Int32[] is not supported.

Link to HockeyApp

Fix NullReferenceException in - [AppDelegate ProcessNotification(Foundation.NSDictionary options, System.Boolean fromFinishedLaunching)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid.iOS AppDelegate ProcessNotification 1 NightscoutMobileHybrid.iOS AppDelegate ReceivedRemoteNotification 2 UIKit UIApplication Main 3 UIKit UIApplication Main 4 NightscoutMobileHybrid.iOS Application Main null 0 

Reason

System.NullReferenceException: Object reference not set to an instance of an object

Link to HockeyApp

Fix IOException in .ctor

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 System.IO.FileStream  ctor 1 System.IO.FileStream  ctor 2 System.IO.IsolatedStorage.IsolatedStorageFileStream  ctor 3 System.IO.IsolatedStorage.IsolatedStorageFileStream  ctor 4 System.IO.IsolatedStorage IsolatedStorageFile OpenFile 5 Xamarin.Forms.Platform.Android Deserializer+<>c__DisplayClass2_0 b__0 6 System.Threading.Tasks Task InnerInvoke 7 System.Threading.Tasks Task Execute 8 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 9 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 10 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 11 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 12 System.Runtime.CompilerServices TaskAwaiter GetResult 13 Xamarin.Forms Application+d__72 MoveNext 14 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 15 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 16 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 17 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 18 System.Runtime.CompilerServices TaskAwaiter GetResult 19 Xamarin.Forms Application+d__50 MoveNext 20 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 21 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 22 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 23 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 24 System.Runtime.CompilerServices TaskAwaiter GetResult 25 Xamarin.Forms.Platform.Android FormsAppCompatActivity+d__42 MoveNext 26 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 27 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 28 Android.App SyncContext+c__AnonStorey0 <>m__0 29 Java.Lang Thread+RunnableImplementor Run 30 Java.Lang IRunnableInvoker n_Run 31 mono.java.lang RunnableImplementor n_run 32 mono.java.lang RunnableImplementor run 33 android.os Handler handleCallback 34 android.os Handler dispatchMessage 35 android.os Looper loop 36 android.app ActivityThread main 37 java.lang.reflect Method invoke 38 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 39 com.android.internal.os ZygoteInit main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.IO.IOException: Sharing violation on path PropertyStore.forms.tmp

Link to HockeyApp

Fix WebException in - [Socket Connect(System.Net.EndPoint remoteEP)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 System.Net.Sockets Socket Connect 1 System.Net WebConnection Connect 2 System.Net HttpWebRequest EndGetResponse 3 System.Threading.Tasks TaskFactory`1[TResult] FromAsyncCoreLogic null 0 

Reason

System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused

Link to HockeyApp

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2462
-;finalizer_thread;gc.c;791
-;start_wrapper;threads.c;740
-;inner_start_thread;mono-threads-posix.c;92

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.WebException: Error: SecureChannelFailure (Unable to read data from the transport connection: The descriptor is not a socket.) ---> System.IO.IOException: Unable to read data from the transport connection: The descriptor is not a socket. ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) <0x1006892f0 + 0x00124> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) <0x10062d3c0 + 0x0009f> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) <0x100681390 + 0x001ac> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x100681310 + 0x00047> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x100683ae0 + 0x0005b> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0x1006844e0 + 0x000fb> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x1006a1160 + 0x000f8> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x1003b27e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10034c840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10034bd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10034bc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10034bc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x10034c380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Net.Http.HttpClientHandler+c__async0.MoveNext () <0x100c30e80 + 0x009fb> in <be266f84543a467781920063d63ce5df#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10034c840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10034bd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10034bc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10034bc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.C…

Link to HockeyApp

Android Version Number

When the last update was available it was a little confusing applying the new version. I thought I updated it via HockeyApp but then I think when I went in to the app itself it also prompted me to update.

Onceupdated, it is then difficult to see what version you are in as there is nothing in Settings to tell you what version of the Android App you are in. However, in the HockeyApp I can see that everything is version 1 (1) but with different dates. I'm on 28/01/2017 version though so I think I have the right one. Maybe the versions can increment after this and the version number could be viewable from within the app settings? It might be easier to track feedback based on version number then.

Fix NullReferenceException in - [AppDelegate ProcessNotification(Foundation.NSDictionary options, System.Boolean fromFinishedLaunching)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid.iOS AppDelegate ProcessNotification 1 NightscoutMobileHybrid.iOS AppDelegate ReceivedRemoteNotification 2 UIKit UIApplication Main 3 UIKit UIApplication Main 4 NightscoutMobileHybrid.iOS Application Main null 0 

Reason

System.NullReferenceException: Object reference not set to an instance of an object

Link to HockeyApp

Fix NSInvalidArgumentException in AVFoundation_AVCaptureDevice_set_TorchMode_AVFoundation_AVCaptureTorchMode, line 1839

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;AVFoundation_AVCaptureDevice_set_TorchMode_AVFoundation_AVCaptureTorchMode;AVCaptureDevice.g.cs;1839
-;Lamp_Plugin_LampImplementation_TurnOn;;1
-;NightscoutMobileHybrid_NightscoutMobileHybridPage__btnLight_Clickedm__4;;1
-;NightscoutMobileHybrid_NightscoutMobileHybridPage_btnLight_Clicked_object_System_EventArgs;;1
-;UIKit_UIControlEventProxy_Activated;UIControl.cs;38
-;wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr;;
-;do_runtime_invoke;object.c;2809
-;native_to_managed_trampoline_1(objc_object*, objc_selector*, _MonoMethod**, char const*, char const*);registrar.m;22
UIKit_UIControlEventProxy;BridgeSelector;registrar.m;5802
-;wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr;;1
-;UIKit_UIApplication_Main_string___intptr_intptr;UIApplication.cs;79
-;UIKit_UIApplication_Main_string___string_string;UIApplication.cs;63
-;NightscoutMobileHybrid_iOS_Application_Main_string__;Main.cs;17
-;wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr;;
-;do_runtime_invoke;object.c;2809
-;xamarin_main;monotouch-main.m;487

Reason

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureDevice setTorchMode:] The passed torchMode 1 is not supported - use -isTorchModeSupported: to discover valid torch modes'

Link to HockeyApp

Fix NullReferenceException in SettingsPage+<btnSave_Clicked>c__async0.MoveNext

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 1 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 2 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 3 Android.App SyncContext+c__AnonStorey0 <>m__0 4 Java.Lang Thread+RunnableImplementor Run 5 Java.Lang IRunnableInvoker n_Run 6 mono.java.lang RunnableImplementor n_run 7 mono.java.lang RunnableImplementor run 8 android.os Handler handleCallback 9 android.os Handler dispatchMessage 10 android.os Looper loop 11 android.app ActivityThread main 12 java.lang.reflect Method invokeNative 13 java.lang.reflect Method invoke 14 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 15 com.android.internal.os ZygoteInit main 16 dalvik.system NativeStart main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object.

Link to HockeyApp

Fix InvalidOperationException in DynamicMethod.CreateDynMethod

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 System.Reflection.Emit DynamicMethod CreateDynMethod 1 System.Reflection.Emit DynamicMethod CreateDelegate 2 Android.Runtime JNINativeWrapper CreateDelegate 3 Android.Content BroadcastReceiver GetOnReceive_Landroid_content_Context_Landroid_content_Intent_Handler 4 Android.Runtime JNIEnv RegisterJniNatives 5 Java.Interop JniEnvironment+Object AllocObject 6 Java.Interop JniType AllocObject 7 Java.Interop JniPeerMembers+JniInstanceMethods StartCreateInstance 8 Android.Content.BroadcastReceiver  ctor 9 Plugin.Connectivity.ConnectivityChangeBroadcastReceiver  ctor 10 Plugin.Connectivity ConnectivityImplementation remove_ConnectivityTypeChanged 11 Plugin.Connectivity CrossConnectivity CreateConnectivity 12 Plugin.Connectivity CrossConnectivity+<>c <.cctor>b__7_0 13 System Lazy`1[T] CreateValue 14 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 15 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 16 Android.App SyncContext+c__AnonStorey0 <>m__0 17 Java.Lang Thread+RunnableImplementor Run 18 Java.Lang IRunnableInvoker n_Run 19 mono.java.lang RunnableImplementor n_run 20 mono.java.lang RunnableImplementor run 21 android.os Handler handleCallback 22 android.os Handler dispatchMessage 23 android.os Looper loop 24 android.app ActivityThread main 25 java.lang.reflect Method invokeNative 26 java.lang.reflect Method invoke 27 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 28 com.android.internal.os ZygoteInit main 29 dalvik.system NativeStart main ) Java.Interop.NativeMethods 2 

Reason

android.runtime.JavaProxyThrowable: System.InvalidOperationException

Link to HockeyApp

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2462
-;finalizer_thread;gc.c;791
-;start_wrapper;threads.c;740
-;inner_start_thread;mono-threads-posix.c;92

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.WebException: Error: SecureChannelFailure (Unable to read data from the transport connection: The descriptor is not a socket.) ---> System.IO.IOException: Unable to read data from the transport connection: The descriptor is not a socket. ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) <0x1006353d0 + 0x00124> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) <0x1005d93a0 + 0x0009f> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) <0x10062d370 + 0x001ac> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x10062d2f0 + 0x00047> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x10062fb60 + 0x0005b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0x100630560 + 0x0015b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x10064d240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x10035e7e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1002f8840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x1002f7d40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x1002f7c90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x1002f7c30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x1002f8380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.Http.HttpClientHandler+c__async0.MoveNext () <0x100bdcf90 + 0x009fb> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1002f8840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x1002f7d40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x1002f7c90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x1002f7c30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.C…

Link to HockeyApp

Fix ArgumentException in SettingsImplementation.AddOrUpdateValue

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Plugin.Settings SettingsImplementation AddOrUpdateValue 1 Plugin.Settings SettingsImplementation AddOrUpdateValue[T] 2 NightscoutMobileHybrid ApplicationSettings set_AlarmUrgentMins 3 NightscoutMobileHybrid Webservices+c__async1 MoveNext 4 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 5 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 6 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 7 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 8 System.Runtime.CompilerServices TaskAwaiter GetResult 9 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 10 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 11 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 12 Android.App SyncContext+c__AnonStorey0 <>m__0 13 Java.Lang Thread+RunnableImplementor Run 14 Java.Lang IRunnableInvoker n_Run 15 mono.java.lang RunnableImplementor n_run 16 mono.java.lang RunnableImplementor run 17 android.os Handler handleCallback 18 android.os Handler dispatchMessage 19 android.os Looper loop 20 android.app ActivityThread main 21 java.lang.reflect Method invokeNative 22 java.lang.reflect Method invoke 23 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 24 com.android.internal.os ZygoteInit main 25 dalvik.system NativeStart main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.ArgumentException: Value of type List`1 is not supported.

Link to HockeyApp

No option to quit the Android App

I was testing the Android app the other day but didn't want to mute the alarm so I decided to exit the app instead. Even though I used the back button instead of the home button it still kept alarming in the background and I was forced to Stop the app from the App Settings. I know you want this to continue in the background for notifications, etc. but I think there should be a Quit option in the Settings to allow you to end the application gracefully.

Button Styles

UI suggestion: enlarge font size on main screen buttons and/or match button styles between main view & settings view. Maybe center the buttons on settings page?

Trailing slash on URL causes warning about push notifications.

When setting up a new iOS device, I entered my NS site URL with a trailing slash, e.g., https://mysite.herokuapp.com/ and it told me 'Your Nightscout website does not have azurepush enabled' though I do have it enabled and working. Removing the slash fixed the problem. Perhaps the code could recognize either format? I'm on heroku, FWIW.

Fix XamlParseException in CreateValuesVisitor.Visit

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Xamarin.Forms.Xaml CreateValuesVisitor Visit 1 Xamarin.Forms.Xaml ElementNode Accept 2 Xamarin.Forms.Xaml ElementNode Accept 3 Xamarin.Forms.Xaml RootNode Accept 4 Xamarin.Forms.Xaml XamlLoader Visit 5 Xamarin.Forms.Xaml XamlLoader Load 6 Xamarin.Forms.Xaml XamlLoader Load 7 Xamarin.Forms.Xaml Extensions LoadFromXaml[TXaml] 8 NightscoutMobileHybrid NightscoutMobileHybridPage InitializeComponent 9 NightscoutMobileHybrid.NightscoutMobileHybridPage  ctor 10 NightscoutMobileHybrid.App  ctor 11 NightscoutMobileHybrid.Droid MainActivity OnCreate 12 Android.Support.V4.App FragmentActivity n_OnCreate_Landroid_os_Bundle_ 13 md5a6b387b189c23b22b0a6b3b489e24587 MainActivity n_onCreate 14 md5a6b387b189c23b22b0a6b3b489e24587 MainActivity onCreate 15 android.app Activity performCreate 16 android.app Instrumentation callActivityOnCreate 17 android.app ActivityThread performLaunchActivity 18 android.app ActivityThread handleLaunchActivity 19 android.app ActivityThread access$900 20 android.app ActivityThread$H handleMessage 21 android.os Handler dispatchMessage 22 android.os Looper loop 23 android.app ActivityThread main 24 java.lang.reflect Method invokeNative 25 java.lang.reflect Method invoke 26 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 27 com.android.internal.os ZygoteInit main 28 dalvik.system NativeStart main java.lang.reflect 2 

Reason

android.runtime.JavaProxyThrowable: Xamarin.Forms.Xaml.XamlParseException: Position 6:4. Type Margin not found in xmlns http://xamarin.com/schemas/2014/forms

Link to HockeyApp

Feedback 'Re: New Version of Nightscout Available'

Message from Clayton McCook sent on 2016-12-17 05:31:13 UTC###

Hi Andrew,

I'm unable to download the app. I've tried a couple of times with no luck. I just get keep getting the error message saying it's unable to download. I cleared out some storage and should have plenty of room on the phone. I tried doing a hard reset and installing again to no avail. Thanks.

Clayton McCook, MS, DVM
Equine Sports Medicine & Surgery
Oklahoma Racehorse Division
Edmond, OK

Link to HockeyApp

Fix JsonReaderException in JsonTextReader.ParseNumberPositiveInfinity

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Newtonsoft.Json JsonTextReader ParseNumberPositiveInfinity 1 Newtonsoft.Json JsonTextReader ParseValue 2 Newtonsoft.Json JsonTextReader ReadInternal 3 Newtonsoft.Json JsonTextReader Read 4 Newtonsoft.Json.Serialization JsonSerializerInternalReader ReadForType 5 Newtonsoft.Json.Serialization JsonSerializerInternalReader Deserialize 6 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 7 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 8 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 9 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 10 System.Runtime.CompilerServices TaskAwaiter GetResult 11 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 12 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 13 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 14 Android.App SyncContext+c__AnonStorey0 <>m__0 15 Java.Lang Thread+RunnableImplementor Run 16 Java.Lang IRunnableInvoker n_Run 17 mono.java.lang RunnableImplementor n_run 18 mono.java.lang RunnableImplementor run 19 android.os Handler handleCallback 20 android.os Handler dispatchMessage 21 android.os Looper loop 22 android.app ActivityThread main 23 java.lang.reflect Method invokeNative 24 java.lang.reflect Method invoke 25 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 26 com.android.internal.os ZygoteInit main 27 dalvik.system NativeStart main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: Newtonsoft.Json.JsonReaderException: Error parsing positive infinity value. Path '', line 0, position 0.

Link to HockeyApp

Re-register with iOS APNs during launch

@sobrecht found that during app upgrade, APNs disposes of her device token and therefore notifications are no longer delivered.

According to this stackoverflow, and this Apple doc, we should probably be re-registering every time the app launches.

To accommodate this, we should:

  1. Register with APNs during app launch
  2. Compare the device token with the InstallationID
  3. If different, un-register with the old InstallationID (if not null)
  4. And re-register with the new InstallationID

This will ensure the disposed device token is also no longer in ANH/NS.

Fix crash in - [NSObject InitializeHandle(System.IntPtr handle, System.String initSelector)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Foundation NSObject InitializeHandle 1 Foundation.NSUrl  ctor 2 Xamarin.Forms.Platform.iOS WebViewRenderer LoadUrl 3 Xamarin.Forms UrlWebViewSource Load 4 Xamarin.Forms.Platform.iOS WebViewRenderer Load 5 Xamarin.Forms.Platform.iOS WebViewRenderer HandlePropertyChanged 6 Xamarin.Forms BindableObject OnPropertyChanged 7 Xamarin.Forms Element OnPropertyChanged 8 Xamarin.Forms WebView OnPropertyChanged 9 Xamarin.Forms BindableObject SetValueActual 10 Xamarin.Forms BindableObject SetValueCore 11 Xamarin.Forms BindableObject SetValue 12 Xamarin.Forms BindableObject SetValue 13 Xamarin.Forms WebView set_Source 14 NightscoutMobileHybrid NightscoutMobileHybridPage+c__async0 MoveNext null 0 

Reason

System.Exception: Could not initialize an instance of the type 'Foundation.NSUrl': the native 'initWithString:' method returned nil.

Link to HockeyApp

Fix AggregateException in ExceptionDispatchInfo.Throw()

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 1 Java.Interop JniEnvironment+InstanceMethods CallObjectMethod 2 Android.Runtime JNIEnv CallObjectMethod 3 Android.Support.V7.App AlertDialog+Builder Create 4 Xamarin.Forms.Platform.Android FormsAppCompatActivity OnAlertRequested 5 Xamarin.Forms MessagingCenter+<>c__DisplayClass3_0`2[TSender,TArgs] b__0 6 Xamarin.Forms MessagingCenter InnerSend 7 Xamarin.Forms MessagingCenter Send[TSender,TArgs] 8 Xamarin.Forms Page DisplayAlert 9 Xamarin.Forms Page DisplayAlert 10 NightscoutMobileHybrid NightscoutMobileHybridPage m__1 11 Xamarin.Forms MessagingCenter+<>c__DisplayClass3_0`2[TSender,TArgs] b__0 12 Xamarin.Forms MessagingCenter InnerSend 13 Xamarin.Forms MessagingCenter Send[TSender,TArgs] 14 NightscoutMobileHybrid Webservices+c__async2 MoveNext 15 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 16 Java.Interop JniEnvironment+InstanceMethods CallObjectMethod 17 Android.Runtime JNIEnv CallObjectMethod 18 Android.Support.V7.App AlertDialog+Builder Create 19 Xamarin.Forms.Platform.Android FormsAppCompatActivity OnAlertRequested 20 Xamarin.Forms MessagingCenter+<>c__DisplayClass3_0`2[TSender,TArgs] b__0 21 Xamarin.Forms MessagingCenter InnerSend 22 Xamarin.Forms MessagingCenter Send[TSender,TArgs] 23 Xamarin.Forms Page DisplayAlert 24 Xamarin.Forms Page DisplayAlert 25 NightscoutMobileHybrid NightscoutMobileHybridPage m__1 26 Xamarin.Forms MessagingCenter+<>c__DisplayClass3_0`2[TSender,TArgs] b__0 27 Xamarin.Forms MessagingCenter InnerSend 28 Xamarin.Forms MessagingCenter Send[TSender,TArgs] 29 NightscoutMobileHybrid Webservices+c__async2 MoveNext null 0 

Reason

android.runtime.JavaProxyThrowable: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Java.Lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

Link to HockeyApp

Fix NullReferenceException in - [AppDelegate ProcessNotification(Foundation.NSDictionary options, System.Boolean fromFinishedLaunching)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid.iOS AppDelegate ProcessNotification 1 NightscoutMobileHybrid.iOS AppDelegate ReceivedRemoteNotification 2 UIKit UIApplication Main 3 UIKit UIApplication Main 4 NightscoutMobileHybrid.iOS Application Main null 0 

Reason

System.NullReferenceException: Object reference not set to an instance of an object

Link to HockeyApp

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2462
-;finalizer_thread;gc.c;791
-;start_wrapper;threads.c;740
-;inner_start_thread;mono-threads-posix.c;92

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.WebException: Error: ConnectFailure (The descriptor is not a socket) ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) <0x10065c060 + 0x00184> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) <0x1006807b0 + 0x0044b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100675240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x1003867e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100320840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10031fd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10031fc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10031fc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100320380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () <0x100c04f90 + 0x009fb> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100320840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10031fd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10031fc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10031fc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100320380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.Http.HttpClient+c__async0.MoveNext () <0x100c03b30 + 0x00363> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Net.WebException: Error: ConnectFailure (The descriptor is not a socket) ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) <0x10065c060 + 0x00184> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) <0x1006807b0 + 0x0044b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100675240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x1003867e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack …

Link to HockeyApp

Fix NullReferenceException in - [AppDelegate ProcessNotification(Foundation.NSDictionary options, System.Boolean fromFinishedLaunching)]

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid.iOS AppDelegate ProcessNotification 1 NightscoutMobileHybrid.iOS AppDelegate ReceivedRemoteNotification 2 UIKit UIApplication Main 3 UIKit UIApplication Main 4 NightscoutMobileHybrid.iOS Application Main null 0 

Reason

System.NullReferenceException: Object reference not set to an instance of an object

Link to HockeyApp

Fix NotSupportedException in TypeManager.CreateProxy

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 Java.Interop TypeManager CreateProxy 1 Java.Interop TypeManager CreateInstance 2 Java.Interop TypeManager CreateInstance 3 Java.Lang Object GetObject 4 Java.Lang Object _GetObject[T] 5 Java.Lang Object GetObject[T] 6 Java.Lang Object GetObject[T] 7 Android.Views View+IOnFocusChangeListenerInvoker n_OnFocusChange_Landroid_view_View_Z 8 md5b60ffeb829f638581ab2bb9b1a7f4f3f ViewRenderer_2 n_onFocusChange 9 md5b60ffeb829f638581ab2bb9b1a7f4f3f ViewRenderer_2 onFocusChange 10 android.view View onFocusChanged 11 android.webkit WebView onFocusChanged 12 android.view View handleFocusGainInternal 13 android.view ViewGroup handleFocusGainInternal 14 android.view View requestFocusNoSearch 15 android.view View requestFocus 16 android.view ViewGroup requestFocus 17 android.webkit WebView access$1001 18 android.webkit WebView$PrivateAccess super_requestFocus 19 com.android.webview.chromium WebViewChromium requestFocus 20 android.webkit WebView requestFocus 21 android.view View requestFocus 22 android.view View requestFocus 23 org.chromium.content.browser ContentViewCore filterTapOrPressEvent 24 org.chromium.base SystemMessageHandler nativeDoRunLoopOnce 25 org.chromium.base SystemMessageHandler handleMessage 26 android.os Handler dispatchMessage 27 android.os Looper loop 28 android.app ActivityThread main 29 java.lang.reflect Method invoke 30 java.lang.reflect Method invoke 31 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 32 com.android.internal.os ZygoteInit main > Java.Interop.JavaLocationException 2 

Reason

android.runtime.JavaProxyThrowable: System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.WebViewRenderer from native handle 0xbe8023fc (key_handle 0xec0f811). ---> System.MissingMethodException: No constructor found for Xamarin.Forms.Platform.Android.WebViewRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.

Link to HockeyApp

Fix NullReferenceException in SettingsPage+<btnSave_Clicked>c__async0.MoveNext

Version: 1.0 (1) | com.nightscout.nightscoutmobilehybrid

Stacktrace

0 NightscoutMobileHybrid SettingsPage+c__async0 MoveNext 1 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 2 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 3 Android.App SyncContext+c__AnonStorey0 <>m__0 4 Java.Lang Thread+RunnableImplementor Run 5 Java.Lang IRunnableInvoker n_Run 6 mono.java.lang RunnableImplementor n_run 7 mono.java.lang RunnableImplementor run 8 android.os Handler handleCallback 9 android.os Handler dispatchMessage 10 android.os Looper loop 11 android.app ActivityThread main 12 java.lang.reflect Method invokeNative 13 java.lang.reflect Method invoke 14 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 15 com.android.internal.os ZygoteInit main 16 dalvik.system NativeStart main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object

Link to HockeyApp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.