private void LogUploadStateChanged(Core lc, CoreLogCollectionUploadState state, string info)
 {
     if (state.Equals(CoreLogCollectionUploadState.NotDelivered))
     {
         BugReportUploadPopup.Visibility = Visibility.Collapsed;
     }
 }
Esempio n. 2
0
 private void OnLogUpload(Core lc, CoreLogCollectionUploadState state, string info)
 {
     if (state == CoreLogCollectionUploadState.Delivered)
     {
         Log($"linphone log upload, link -> {info}");
     }
     else
     {
         Log($"linphone log upload state -> {state}");
     }
 }
Esempio n. 3
0
        private void OnLogCollectionUpload(Core lc, CoreLogCollectionUploadState state, string info)
        {
            Debug.WriteLine("Logs upload state changed: " + state + ", url is " + info);

            logsUrl.Text = info;
            var tapGestureRecognizer = new TapGestureRecognizer();

            tapGestureRecognizer.Tapped += (s, e) => {
                Device.OpenUri(new Uri(((Label)s).Text));
            };
            logsUrl.GestureRecognizers.Add(tapGestureRecognizer);
        }
Esempio n. 4
0
 void LogCollectionUploadStateChanged(Core lc, CoreLogCollectionUploadState state, string info)
 {
     if (CoreDispatcher == null)
     {
         return;
     }
     if (state == CoreLogCollectionUploadState.Delivered)
     {
         BugCollector.ReportExceptions(info);
     }
     else if (state == CoreLogCollectionUploadState.NotDelivered)
     {
         Debug.WriteLine("[LinphoneManager] Logs upload error: " + info);
     }
 }
Esempio n. 5
0
 private void OnLogCollectionUpload(Core lc, CoreLogCollectionUploadState state, string info)
 {
     //UserDialogs.Instance.Alert("info");
 }