From 9ee5571000e4d096198c4f520e99e1b5be950e2f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 22 Jul 2016 00:04:05 -0400 Subject: [PATCH] Added hockeyapp configuration for ios --- src/Android/Android.csproj | 8 + src/Android/Resources/Resource.Designer.cs | 539 +++++++++++++++++++-- src/Android/packages.config | 1 + src/App/App.csproj | 4 + src/App/packages.config | 1 + src/iOS/AppDelegate.cs | 8 +- src/iOS/iOS.csproj | 8 + src/iOS/packages.config | 1 + 8 files changed, 538 insertions(+), 32 deletions(-) diff --git a/src/Android/Android.csproj b/src/Android/Android.csproj index f2957bb36..0b6e1a959 100644 --- a/src/Android/Android.csproj +++ b/src/Android/Android.csproj @@ -93,6 +93,14 @@ ..\..\packages\Xamarin.Forms.2.3.0.107\lib\MonoAndroid10\FormsViewGroup.dll True + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\MonoAndroid403\HockeySDK.dll + True + + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\MonoAndroid403\HockeySDK.AndroidBindings.dll + True + ..\..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll True diff --git a/src/Android/Resources/Resource.Designer.cs b/src/Android/Resources/Resource.Designer.cs index 1d0c4263d..3dac64cec 100644 --- a/src/Android/Resources/Resource.Designer.cs +++ b/src/Android/Resources/Resource.Designer.cs @@ -63,6 +63,126 @@ namespace Bit.Android global::AndroidHUD.Resource.Styleable.ProgressWheel_ahText = global::Bit.Android.Resource.Styleable.ProgressWheel_ahText; global::AndroidHUD.Resource.Styleable.ProgressWheel_ahTextColor = global::Bit.Android.Resource.Styleable.ProgressWheel_ahTextColor; global::AndroidHUD.Resource.Styleable.ProgressWheel_ahTextSize = global::Bit.Android.Resource.Styleable.ProgressWheel_ahTextSize; + global::HockeyApp.Resource.Color.hockeyapp_background_header = global::Bit.Android.Resource.Color.hockeyapp_background_header; + global::HockeyApp.Resource.Color.hockeyapp_background_light = global::Bit.Android.Resource.Color.hockeyapp_background_light; + global::HockeyApp.Resource.Color.hockeyapp_background_white = global::Bit.Android.Resource.Color.hockeyapp_background_white; + global::HockeyApp.Resource.Color.hockeyapp_button_background = global::Bit.Android.Resource.Color.hockeyapp_button_background; + global::HockeyApp.Resource.Color.hockeyapp_button_background_pressed = global::Bit.Android.Resource.Color.hockeyapp_button_background_pressed; + global::HockeyApp.Resource.Color.hockeyapp_button_background_selected = global::Bit.Android.Resource.Color.hockeyapp_button_background_selected; + global::HockeyApp.Resource.Color.hockeyapp_text_black = global::Bit.Android.Resource.Color.hockeyapp_text_black; + global::HockeyApp.Resource.Color.hockeyapp_text_light = global::Bit.Android.Resource.Color.hockeyapp_text_light; + global::HockeyApp.Resource.Color.hockeyapp_text_normal = global::Bit.Android.Resource.Color.hockeyapp_text_normal; + global::HockeyApp.Resource.Color.hockeyapp_text_white = global::Bit.Android.Resource.Color.hockeyapp_text_white; + global::HockeyApp.Resource.Drawable.hockeyapp_btn_background = global::Bit.Android.Resource.Drawable.hockeyapp_btn_background; + global::HockeyApp.Resource.Id.button_add_response = global::Bit.Android.Resource.Id.button_add_response; + global::HockeyApp.Resource.Id.button_attachment = global::Bit.Android.Resource.Id.button_attachment; + global::HockeyApp.Resource.Id.button_login = global::Bit.Android.Resource.Id.button_login; + global::HockeyApp.Resource.Id.button_refresh = global::Bit.Android.Resource.Id.button_refresh; + global::HockeyApp.Resource.Id.button_send = global::Bit.Android.Resource.Id.button_send; + global::HockeyApp.Resource.Id.button_update = global::Bit.Android.Resource.Id.button_update; + global::HockeyApp.Resource.Id.input_email = global::Bit.Android.Resource.Id.input_email; + global::HockeyApp.Resource.Id.input_message = global::Bit.Android.Resource.Id.input_message; + global::HockeyApp.Resource.Id.input_name = global::Bit.Android.Resource.Id.input_name; + global::HockeyApp.Resource.Id.input_password = global::Bit.Android.Resource.Id.input_password; + global::HockeyApp.Resource.Id.input_subject = global::Bit.Android.Resource.Id.input_subject; + global::HockeyApp.Resource.Id.label_author = global::Bit.Android.Resource.Id.label_author; + global::HockeyApp.Resource.Id.label_date = global::Bit.Android.Resource.Id.label_date; + global::HockeyApp.Resource.Id.label_last_updated = global::Bit.Android.Resource.Id.label_last_updated; + global::HockeyApp.Resource.Id.label_message = global::Bit.Android.Resource.Id.label_message; + global::HockeyApp.Resource.Id.label_text = global::Bit.Android.Resource.Id.label_text; + global::HockeyApp.Resource.Id.label_title = global::Bit.Android.Resource.Id.label_title; + global::HockeyApp.Resource.Id.label_version = global::Bit.Android.Resource.Id.label_version; + global::HockeyApp.Resource.Id.list_attachments = global::Bit.Android.Resource.Id.list_attachments; + global::HockeyApp.Resource.Id.list_feedback_messages = global::Bit.Android.Resource.Id.list_feedback_messages; + global::HockeyApp.Resource.Id.text_headline = global::Bit.Android.Resource.Id.text_headline; + global::HockeyApp.Resource.Id.view_header = global::Bit.Android.Resource.Id.view_header; + global::HockeyApp.Resource.Id.web_update_details = global::Bit.Android.Resource.Id.web_update_details; + global::HockeyApp.Resource.Id.wrapper_attachments = global::Bit.Android.Resource.Id.wrapper_attachments; + global::HockeyApp.Resource.Id.wrapper_feedback = global::Bit.Android.Resource.Id.wrapper_feedback; + global::HockeyApp.Resource.Id.wrapper_feedback_scroll = global::Bit.Android.Resource.Id.wrapper_feedback_scroll; + global::HockeyApp.Resource.Id.wrapper_messages = global::Bit.Android.Resource.Id.wrapper_messages; + global::HockeyApp.Resource.Id.wrapper_messages_buttons = global::Bit.Android.Resource.Id.wrapper_messages_buttons; + global::HockeyApp.Resource.Layout.hockeyapp_activity_expiry_info = global::Bit.Android.Resource.Layout.hockeyapp_activity_expiry_info; + global::HockeyApp.Resource.Layout.hockeyapp_activity_feedback = global::Bit.Android.Resource.Layout.hockeyapp_activity_feedback; + global::HockeyApp.Resource.Layout.hockeyapp_activity_login = global::Bit.Android.Resource.Layout.hockeyapp_activity_login; + global::HockeyApp.Resource.Layout.hockeyapp_activity_update = global::Bit.Android.Resource.Layout.hockeyapp_activity_update; + global::HockeyApp.Resource.Layout.hockeyapp_fragment_update = global::Bit.Android.Resource.Layout.hockeyapp_fragment_update; + global::HockeyApp.Resource.Layout.hockeyapp_view_feedback_message = global::Bit.Android.Resource.Layout.hockeyapp_view_feedback_message; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_app_name_fallback = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_app_name_fallback; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_message = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_message; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_neutral_button = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_neutral_button; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_crash_dialog_title = global::Bit.Android.Resource.String.hockeyapp_crash_dialog_title; + global::HockeyApp.Resource.String.hockeyapp_dialog_error_message = global::Bit.Android.Resource.String.hockeyapp_dialog_error_message; + global::HockeyApp.Resource.String.hockeyapp_dialog_error_title = global::Bit.Android.Resource.String.hockeyapp_dialog_error_title; + global::HockeyApp.Resource.String.hockeyapp_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_download_failed_dialog_message = global::Bit.Android.Resource.String.hockeyapp_download_failed_dialog_message; + global::HockeyApp.Resource.String.hockeyapp_download_failed_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_download_failed_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_download_failed_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_download_failed_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_download_failed_dialog_title = global::Bit.Android.Resource.String.hockeyapp_download_failed_dialog_title; + global::HockeyApp.Resource.String.hockeyapp_error_no_network_message = global::Bit.Android.Resource.String.hockeyapp_error_no_network_message; + global::HockeyApp.Resource.String.hockeyapp_expiry_info_text = global::Bit.Android.Resource.String.hockeyapp_expiry_info_text; + global::HockeyApp.Resource.String.hockeyapp_expiry_info_title = global::Bit.Android.Resource.String.hockeyapp_expiry_info_title; + global::HockeyApp.Resource.String.hockeyapp_feedback_attach_file = global::Bit.Android.Resource.String.hockeyapp_feedback_attach_file; + global::HockeyApp.Resource.String.hockeyapp_feedback_attach_picture = global::Bit.Android.Resource.String.hockeyapp_feedback_attach_picture; + global::HockeyApp.Resource.String.hockeyapp_feedback_attachment_button_text = global::Bit.Android.Resource.String.hockeyapp_feedback_attachment_button_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_attachment_error = global::Bit.Android.Resource.String.hockeyapp_feedback_attachment_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_attachment_loading = global::Bit.Android.Resource.String.hockeyapp_feedback_attachment_loading; + global::HockeyApp.Resource.String.hockeyapp_feedback_email_hint = global::Bit.Android.Resource.String.hockeyapp_feedback_email_hint; + global::HockeyApp.Resource.String.hockeyapp_feedback_failed_text = global::Bit.Android.Resource.String.hockeyapp_feedback_failed_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_failed_title = global::Bit.Android.Resource.String.hockeyapp_feedback_failed_title; + global::HockeyApp.Resource.String.hockeyapp_feedback_fetching_feedback_text = global::Bit.Android.Resource.String.hockeyapp_feedback_fetching_feedback_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_generic_error = global::Bit.Android.Resource.String.hockeyapp_feedback_generic_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_last_updated_text = global::Bit.Android.Resource.String.hockeyapp_feedback_last_updated_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_max_attachments_allowed = global::Bit.Android.Resource.String.hockeyapp_feedback_max_attachments_allowed; + global::HockeyApp.Resource.String.hockeyapp_feedback_message_hint = global::Bit.Android.Resource.String.hockeyapp_feedback_message_hint; + global::HockeyApp.Resource.String.hockeyapp_feedback_name_hint = global::Bit.Android.Resource.String.hockeyapp_feedback_name_hint; + global::HockeyApp.Resource.String.hockeyapp_feedback_refresh_button_text = global::Bit.Android.Resource.String.hockeyapp_feedback_refresh_button_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_response_button_text = global::Bit.Android.Resource.String.hockeyapp_feedback_response_button_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_select_file = global::Bit.Android.Resource.String.hockeyapp_feedback_select_file; + global::HockeyApp.Resource.String.hockeyapp_feedback_select_picture = global::Bit.Android.Resource.String.hockeyapp_feedback_select_picture; + global::HockeyApp.Resource.String.hockeyapp_feedback_send_button_text = global::Bit.Android.Resource.String.hockeyapp_feedback_send_button_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_send_generic_error = global::Bit.Android.Resource.String.hockeyapp_feedback_send_generic_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_send_network_error = global::Bit.Android.Resource.String.hockeyapp_feedback_send_network_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_sending_feedback_text = global::Bit.Android.Resource.String.hockeyapp_feedback_sending_feedback_text; + global::HockeyApp.Resource.String.hockeyapp_feedback_subject_hint = global::Bit.Android.Resource.String.hockeyapp_feedback_subject_hint; + global::HockeyApp.Resource.String.hockeyapp_feedback_title = global::Bit.Android.Resource.String.hockeyapp_feedback_title; + global::HockeyApp.Resource.String.hockeyapp_feedback_validate_email_empty = global::Bit.Android.Resource.String.hockeyapp_feedback_validate_email_empty; + global::HockeyApp.Resource.String.hockeyapp_feedback_validate_email_error = global::Bit.Android.Resource.String.hockeyapp_feedback_validate_email_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_validate_name_error = global::Bit.Android.Resource.String.hockeyapp_feedback_validate_name_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_validate_subject_error = global::Bit.Android.Resource.String.hockeyapp_feedback_validate_subject_error; + global::HockeyApp.Resource.String.hockeyapp_feedback_validate_text_error = global::Bit.Android.Resource.String.hockeyapp_feedback_validate_text_error; + global::HockeyApp.Resource.String.hockeyapp_login_email_hint = global::Bit.Android.Resource.String.hockeyapp_login_email_hint; + global::HockeyApp.Resource.String.hockeyapp_login_headline_text = global::Bit.Android.Resource.String.hockeyapp_login_headline_text; + global::HockeyApp.Resource.String.hockeyapp_login_headline_text_email_only = global::Bit.Android.Resource.String.hockeyapp_login_headline_text_email_only; + global::HockeyApp.Resource.String.hockeyapp_login_login_button_text = global::Bit.Android.Resource.String.hockeyapp_login_login_button_text; + global::HockeyApp.Resource.String.hockeyapp_login_missing_credentials_toast = global::Bit.Android.Resource.String.hockeyapp_login_missing_credentials_toast; + global::HockeyApp.Resource.String.hockeyapp_login_password_hint = global::Bit.Android.Resource.String.hockeyapp_login_password_hint; + global::HockeyApp.Resource.String.hockeyapp_paint_dialog_message = global::Bit.Android.Resource.String.hockeyapp_paint_dialog_message; + global::HockeyApp.Resource.String.hockeyapp_paint_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_paint_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_paint_dialog_neutral_button = global::Bit.Android.Resource.String.hockeyapp_paint_dialog_neutral_button; + global::HockeyApp.Resource.String.hockeyapp_paint_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_paint_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_paint_indicator_toast = global::Bit.Android.Resource.String.hockeyapp_paint_indicator_toast; + global::HockeyApp.Resource.String.hockeyapp_paint_menu_clear = global::Bit.Android.Resource.String.hockeyapp_paint_menu_clear; + global::HockeyApp.Resource.String.hockeyapp_paint_menu_save = global::Bit.Android.Resource.String.hockeyapp_paint_menu_save; + global::HockeyApp.Resource.String.hockeyapp_paint_menu_undo = global::Bit.Android.Resource.String.hockeyapp_paint_menu_undo; + global::HockeyApp.Resource.String.hockeyapp_permission_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_permission_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_permission_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_permission_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_permission_update_message = global::Bit.Android.Resource.String.hockeyapp_permission_update_message; + global::HockeyApp.Resource.String.hockeyapp_permission_update_title = global::Bit.Android.Resource.String.hockeyapp_permission_update_title; + global::HockeyApp.Resource.String.hockeyapp_update_button = global::Bit.Android.Resource.String.hockeyapp_update_button; + global::HockeyApp.Resource.String.hockeyapp_update_dialog_message = global::Bit.Android.Resource.String.hockeyapp_update_dialog_message; + global::HockeyApp.Resource.String.hockeyapp_update_dialog_negative_button = global::Bit.Android.Resource.String.hockeyapp_update_dialog_negative_button; + global::HockeyApp.Resource.String.hockeyapp_update_dialog_positive_button = global::Bit.Android.Resource.String.hockeyapp_update_dialog_positive_button; + global::HockeyApp.Resource.String.hockeyapp_update_dialog_title = global::Bit.Android.Resource.String.hockeyapp_update_dialog_title; + global::HockeyApp.Resource.String.hockeyapp_update_mandatory_toast = global::Bit.Android.Resource.String.hockeyapp_update_mandatory_toast; + global::HockeyApp.Resource.String.hockeyapp_update_version_details_label = global::Bit.Android.Resource.String.hockeyapp_update_version_details_label; + global::HockeyApp.Resource.String.library_name = global::Bit.Android.Resource.String.library_name; + global::HockeyApp.Resource.Style.HockeyApp_ButtonStyle = global::Bit.Android.Resource.Style.HockeyApp_ButtonStyle; + global::HockeyApp.Resource.Style.HockeyApp_EditTextStyle = global::Bit.Android.Resource.Style.HockeyApp_EditTextStyle; + global::HockeyApp.Resource.Style.HockeyApp_SingleLineInputStyle = global::Bit.Android.Resource.Style.HockeyApp_SingleLineInputStyle; global::ModernHttpClient.Resource.String.library_name = global::Bit.Android.Resource.String.library_name; global::Plugin.Fingerprint.Resource.Drawable.fingerprint_white = global::Bit.Android.Resource.Drawable.fingerprint_white; global::Plugin.Fingerprint.Resource.Id.fingerprint_btnCancel = global::Bit.Android.Resource.Id.fingerprint_btnCancel; @@ -124,23 +244,53 @@ namespace Bit.Android public partial class Color { - // aapt resource value: 0x7f060005 - public const int accent = 2131099653; + // aapt resource value: 0x7f07000f + public const int accent = 2131165199; - // aapt resource value: 0x7f060001 - public const int darkgray = 2131099649; + // aapt resource value: 0x7f07000b + public const int darkgray = 2131165195; - // aapt resource value: 0x7f060002 - public const int gray = 2131099650; + // aapt resource value: 0x7f07000c + public const int gray = 2131165196; - // aapt resource value: 0x7f060003 - public const int lightgray = 2131099651; + // aapt resource value: 0x7f070000 + public const int hockeyapp_background_header = 2131165184; - // aapt resource value: 0x7f060004 - public const int primary = 2131099652; + // aapt resource value: 0x7f070001 + public const int hockeyapp_background_light = 2131165185; - // aapt resource value: 0x7f060000 - public const int white = 2131099648; + // aapt resource value: 0x7f070002 + public const int hockeyapp_background_white = 2131165186; + + // aapt resource value: 0x7f070003 + public const int hockeyapp_button_background = 2131165187; + + // aapt resource value: 0x7f070004 + public const int hockeyapp_button_background_pressed = 2131165188; + + // aapt resource value: 0x7f070005 + public const int hockeyapp_button_background_selected = 2131165189; + + // aapt resource value: 0x7f070006 + public const int hockeyapp_text_black = 2131165190; + + // aapt resource value: 0x7f070007 + public const int hockeyapp_text_light = 2131165191; + + // aapt resource value: 0x7f070008 + public const int hockeyapp_text_normal = 2131165192; + + // aapt resource value: 0x7f070009 + public const int hockeyapp_text_white = 2131165193; + + // aapt resource value: 0x7f07000d + public const int lightgray = 2131165197; + + // aapt resource value: 0x7f07000e + public const int primary = 2131165198; + + // aapt resource value: 0x7f07000a + public const int white = 2131165194; static Color() { @@ -171,28 +321,31 @@ namespace Bit.Android public const int fingerprint_white = 2130837508; // aapt resource value: 0x7f020005 - public const int ic_errorstatus = 2130837509; + public const int hockeyapp_btn_background = 2130837509; // aapt resource value: 0x7f020006 - public const int ic_successstatus = 2130837510; + public const int ic_errorstatus = 2130837510; // aapt resource value: 0x7f020007 - public const int icon = 2130837511; + public const int ic_successstatus = 2130837511; // aapt resource value: 0x7f020008 - public const int ion_chevron_right = 2130837512; + public const int icon = 2130837512; // aapt resource value: 0x7f020009 - public const int ion_plus = 2130837513; + public const int ion_chevron_right = 2130837513; // aapt resource value: 0x7f02000a - public const int more = 2130837514; + public const int ion_plus = 2130837514; // aapt resource value: 0x7f02000b - public const int roundedbg = 2130837515; + public const int more = 2130837515; // aapt resource value: 0x7f02000c - public const int roundedbgdark = 2130837516; + public const int roundedbg = 2130837516; + + // aapt resource value: 0x7f02000d + public const int roundedbgdark = 2130837517; static Drawable() { @@ -207,23 +360,107 @@ namespace Bit.Android public partial class Id { + // aapt resource value: 0x7f08000f + public const int button_add_response = 2131230735; + + // aapt resource value: 0x7f08000a + public const int button_attachment = 2131230730; + + // aapt resource value: 0x7f080014 + public const int button_login = 2131230740; + + // aapt resource value: 0x7f080010 + public const int button_refresh = 2131230736; + + // aapt resource value: 0x7f08000b + public const int button_send = 2131230731; + + // aapt resource value: 0x7f080018 + public const int button_update = 2131230744; + // aapt resource value: 0x7f080001 public const int fingerprint_btnCancel = 2131230721; // aapt resource value: 0x7f080000 public const int fingerprint_txtReason = 2131230720; - // aapt resource value: 0x7f080004 - public const int loadingImage = 2131230724; + // aapt resource value: 0x7f080006 + public const int input_email = 2131230726; - // aapt resource value: 0x7f080002 - public const int loadingProgressBar = 2131230722; + // aapt resource value: 0x7f080008 + public const int input_message = 2131230728; // aapt resource value: 0x7f080005 - public const int loadingProgressWheel = 2131230725; + public const int input_name = 2131230725; + + // aapt resource value: 0x7f080013 + public const int input_password = 2131230739; + + // aapt resource value: 0x7f080007 + public const int input_subject = 2131230727; + + // aapt resource value: 0x7f08001a + public const int label_author = 2131230746; + + // aapt resource value: 0x7f08001b + public const int label_date = 2131230747; + + // aapt resource value: 0x7f08000d + public const int label_last_updated = 2131230733; + + // aapt resource value: 0x7f080002 + public const int label_message = 2131230722; + + // aapt resource value: 0x7f08001c + public const int label_text = 2131230748; + + // aapt resource value: 0x7f080016 + public const int label_title = 2131230742; + + // aapt resource value: 0x7f080017 + public const int label_version = 2131230743; + + // aapt resource value: 0x7f08001d + public const int list_attachments = 2131230749; + + // aapt resource value: 0x7f080011 + public const int list_feedback_messages = 2131230737; + + // aapt resource value: 0x7f080020 + public const int loadingImage = 2131230752; + + // aapt resource value: 0x7f08001e + public const int loadingProgressBar = 2131230750; + + // aapt resource value: 0x7f080021 + public const int loadingProgressWheel = 2131230753; + + // aapt resource value: 0x7f08001f + public const int textViewStatus = 2131230751; + + // aapt resource value: 0x7f080012 + public const int text_headline = 2131230738; + + // aapt resource value: 0x7f080015 + public const int view_header = 2131230741; + + // aapt resource value: 0x7f080019 + public const int web_update_details = 2131230745; + + // aapt resource value: 0x7f080009 + public const int wrapper_attachments = 2131230729; + + // aapt resource value: 0x7f080004 + public const int wrapper_feedback = 2131230724; // aapt resource value: 0x7f080003 - public const int textViewStatus = 2131230723; + public const int wrapper_feedback_scroll = 2131230723; + + // aapt resource value: 0x7f08000c + public const int wrapper_messages = 2131230732; + + // aapt resource value: 0x7f08000e + public const int wrapper_messages_buttons = 2131230734; static Id() { @@ -242,13 +479,31 @@ namespace Bit.Android public const int FingerprintDialog = 2130903040; // aapt resource value: 0x7f030001 - public const int loading = 2130903041; + public const int hockeyapp_activity_expiry_info = 2130903041; // aapt resource value: 0x7f030002 - public const int loadingimage = 2130903042; + public const int hockeyapp_activity_feedback = 2130903042; // aapt resource value: 0x7f030003 - public const int loadingprogress = 2130903043; + public const int hockeyapp_activity_login = 2130903043; + + // aapt resource value: 0x7f030004 + public const int hockeyapp_activity_update = 2130903044; + + // aapt resource value: 0x7f030005 + public const int hockeyapp_fragment_update = 2130903045; + + // aapt resource value: 0x7f030006 + public const int hockeyapp_view_feedback_message = 2130903046; + + // aapt resource value: 0x7f030007 + public const int loading = 2130903047; + + // aapt resource value: 0x7f030008 + public const int loadingimage = 2130903048; + + // aapt resource value: 0x7f030009 + public const int loadingprogress = 2130903049; static Layout() { @@ -263,6 +518,219 @@ namespace Bit.Android public partial class String { + // aapt resource value: 0x7f050001 + public const int hockeyapp_crash_dialog_app_name_fallback = 2131034113; + + // aapt resource value: 0x7f050002 + public const int hockeyapp_crash_dialog_message = 2131034114; + + // aapt resource value: 0x7f050003 + public const int hockeyapp_crash_dialog_negative_button = 2131034115; + + // aapt resource value: 0x7f050004 + public const int hockeyapp_crash_dialog_neutral_button = 2131034116; + + // aapt resource value: 0x7f050005 + public const int hockeyapp_crash_dialog_positive_button = 2131034117; + + // aapt resource value: 0x7f050006 + public const int hockeyapp_crash_dialog_title = 2131034118; + + // aapt resource value: 0x7f050007 + public const int hockeyapp_dialog_error_message = 2131034119; + + // aapt resource value: 0x7f050008 + public const int hockeyapp_dialog_error_title = 2131034120; + + // aapt resource value: 0x7f050009 + public const int hockeyapp_dialog_negative_button = 2131034121; + + // aapt resource value: 0x7f05000a + public const int hockeyapp_dialog_positive_button = 2131034122; + + // aapt resource value: 0x7f05000b + public const int hockeyapp_download_failed_dialog_message = 2131034123; + + // aapt resource value: 0x7f05000c + public const int hockeyapp_download_failed_dialog_negative_button = 2131034124; + + // aapt resource value: 0x7f05000d + public const int hockeyapp_download_failed_dialog_positive_button = 2131034125; + + // aapt resource value: 0x7f05000e + public const int hockeyapp_download_failed_dialog_title = 2131034126; + + // aapt resource value: 0x7f05000f + public const int hockeyapp_error_no_network_message = 2131034127; + + // aapt resource value: 0x7f050010 + public const int hockeyapp_expiry_info_text = 2131034128; + + // aapt resource value: 0x7f050011 + public const int hockeyapp_expiry_info_title = 2131034129; + + // aapt resource value: 0x7f050012 + public const int hockeyapp_feedback_attach_file = 2131034130; + + // aapt resource value: 0x7f050013 + public const int hockeyapp_feedback_attach_picture = 2131034131; + + // aapt resource value: 0x7f050014 + public const int hockeyapp_feedback_attachment_button_text = 2131034132; + + // aapt resource value: 0x7f050015 + public const int hockeyapp_feedback_attachment_error = 2131034133; + + // aapt resource value: 0x7f050016 + public const int hockeyapp_feedback_attachment_loading = 2131034134; + + // aapt resource value: 0x7f050017 + public const int hockeyapp_feedback_email_hint = 2131034135; + + // aapt resource value: 0x7f050018 + public const int hockeyapp_feedback_failed_text = 2131034136; + + // aapt resource value: 0x7f050019 + public const int hockeyapp_feedback_failed_title = 2131034137; + + // aapt resource value: 0x7f05001a + public const int hockeyapp_feedback_fetching_feedback_text = 2131034138; + + // aapt resource value: 0x7f05001b + public const int hockeyapp_feedback_generic_error = 2131034139; + + // aapt resource value: 0x7f05001c + public const int hockeyapp_feedback_last_updated_text = 2131034140; + + // aapt resource value: 0x7f05001d + public const int hockeyapp_feedback_max_attachments_allowed = 2131034141; + + // aapt resource value: 0x7f05001e + public const int hockeyapp_feedback_message_hint = 2131034142; + + // aapt resource value: 0x7f05001f + public const int hockeyapp_feedback_name_hint = 2131034143; + + // aapt resource value: 0x7f050020 + public const int hockeyapp_feedback_refresh_button_text = 2131034144; + + // aapt resource value: 0x7f050021 + public const int hockeyapp_feedback_response_button_text = 2131034145; + + // aapt resource value: 0x7f050022 + public const int hockeyapp_feedback_select_file = 2131034146; + + // aapt resource value: 0x7f050023 + public const int hockeyapp_feedback_select_picture = 2131034147; + + // aapt resource value: 0x7f050024 + public const int hockeyapp_feedback_send_button_text = 2131034148; + + // aapt resource value: 0x7f050025 + public const int hockeyapp_feedback_send_generic_error = 2131034149; + + // aapt resource value: 0x7f050026 + public const int hockeyapp_feedback_send_network_error = 2131034150; + + // aapt resource value: 0x7f050027 + public const int hockeyapp_feedback_sending_feedback_text = 2131034151; + + // aapt resource value: 0x7f050028 + public const int hockeyapp_feedback_subject_hint = 2131034152; + + // aapt resource value: 0x7f050029 + public const int hockeyapp_feedback_title = 2131034153; + + // aapt resource value: 0x7f05002a + public const int hockeyapp_feedback_validate_email_empty = 2131034154; + + // aapt resource value: 0x7f05002b + public const int hockeyapp_feedback_validate_email_error = 2131034155; + + // aapt resource value: 0x7f05002c + public const int hockeyapp_feedback_validate_name_error = 2131034156; + + // aapt resource value: 0x7f05002d + public const int hockeyapp_feedback_validate_subject_error = 2131034157; + + // aapt resource value: 0x7f05002e + public const int hockeyapp_feedback_validate_text_error = 2131034158; + + // aapt resource value: 0x7f05002f + public const int hockeyapp_login_email_hint = 2131034159; + + // aapt resource value: 0x7f050030 + public const int hockeyapp_login_headline_text = 2131034160; + + // aapt resource value: 0x7f050031 + public const int hockeyapp_login_headline_text_email_only = 2131034161; + + // aapt resource value: 0x7f050032 + public const int hockeyapp_login_login_button_text = 2131034162; + + // aapt resource value: 0x7f050033 + public const int hockeyapp_login_missing_credentials_toast = 2131034163; + + // aapt resource value: 0x7f050034 + public const int hockeyapp_login_password_hint = 2131034164; + + // aapt resource value: 0x7f050035 + public const int hockeyapp_paint_dialog_message = 2131034165; + + // aapt resource value: 0x7f050036 + public const int hockeyapp_paint_dialog_negative_button = 2131034166; + + // aapt resource value: 0x7f050037 + public const int hockeyapp_paint_dialog_neutral_button = 2131034167; + + // aapt resource value: 0x7f050038 + public const int hockeyapp_paint_dialog_positive_button = 2131034168; + + // aapt resource value: 0x7f050039 + public const int hockeyapp_paint_indicator_toast = 2131034169; + + // aapt resource value: 0x7f05003a + public const int hockeyapp_paint_menu_clear = 2131034170; + + // aapt resource value: 0x7f05003b + public const int hockeyapp_paint_menu_save = 2131034171; + + // aapt resource value: 0x7f05003c + public const int hockeyapp_paint_menu_undo = 2131034172; + + // aapt resource value: 0x7f05003d + public const int hockeyapp_permission_dialog_negative_button = 2131034173; + + // aapt resource value: 0x7f05003e + public const int hockeyapp_permission_dialog_positive_button = 2131034174; + + // aapt resource value: 0x7f05003f + public const int hockeyapp_permission_update_message = 2131034175; + + // aapt resource value: 0x7f050040 + public const int hockeyapp_permission_update_title = 2131034176; + + // aapt resource value: 0x7f050041 + public const int hockeyapp_update_button = 2131034177; + + // aapt resource value: 0x7f050042 + public const int hockeyapp_update_dialog_message = 2131034178; + + // aapt resource value: 0x7f050043 + public const int hockeyapp_update_dialog_negative_button = 2131034179; + + // aapt resource value: 0x7f050044 + public const int hockeyapp_update_dialog_positive_button = 2131034180; + + // aapt resource value: 0x7f050045 + public const int hockeyapp_update_dialog_title = 2131034181; + + // aapt resource value: 0x7f050046 + public const int hockeyapp_update_mandatory_toast = 2131034182; + + // aapt resource value: 0x7f050047 + public const int hockeyapp_update_version_details_label = 2131034183; + // aapt resource value: 0x7f050000 public const int library_name = 2131034112; @@ -279,8 +747,17 @@ namespace Bit.Android public partial class Style { - // aapt resource value: 0x7f070000 - public const int BitwardenTheme = 2131165184; + // aapt resource value: 0x7f060003 + public const int BitwardenTheme = 2131099651; + + // aapt resource value: 0x7f060000 + public const int HockeyApp_ButtonStyle = 2131099648; + + // aapt resource value: 0x7f060001 + public const int HockeyApp_EditTextStyle = 2131099649; + + // aapt resource value: 0x7f060002 + public const int HockeyApp_SingleLineInputStyle = 2131099650; static Style() { diff --git a/src/Android/packages.config b/src/Android/packages.config index 8f601a224..8b0cb6093 100644 --- a/src/Android/packages.config +++ b/src/Android/packages.config @@ -4,6 +4,7 @@ + diff --git a/src/App/App.csproj b/src/App/App.csproj index 58da6f503..a31d7b8df 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -193,6 +193,10 @@ ..\..\packages\Portable.BouncyCastle.1.8.0\lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.dll True + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\HockeySDK.dll + True + ..\..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll True diff --git a/src/App/packages.config b/src/App/packages.config index c8489da7e..011b498d9 100644 --- a/src/App/packages.config +++ b/src/App/packages.config @@ -2,6 +2,7 @@ + diff --git a/src/iOS/AppDelegate.cs b/src/iOS/AppDelegate.cs index 26e6185c5..f8107bd29 100644 --- a/src/iOS/AppDelegate.cs +++ b/src/iOS/AppDelegate.cs @@ -25,6 +25,7 @@ using Plugin.DeviceInfo; using Plugin.Connectivity.Abstractions; using Bit.App.Pages; using PushNotification.Plugin.Abstractions; +using HockeyApp.iOS; namespace Bit.iOS { @@ -37,6 +38,11 @@ namespace Bit.iOS { global::Xamarin.Forms.Forms.Init(); + var manager = BITHockeyManager.SharedHockeyManager; + manager.Configure("51f96ae568ba45f699a18ad9f63046c3"); + manager.StartManager(); + manager.Authenticator.AuthenticateInstallation(); + if(!Resolver.IsSet) { SetIoc(); @@ -116,7 +122,7 @@ namespace Bit.iOS // Log the date/time we last backgrounded - Settings.AddOrUpdateValue(Constants.SettingLastBackgroundedDate, DateTime.UtcNow); + Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow); base.DidEnterBackground(uiApplication); Debug.WriteLine("DidEnterBackground"); diff --git a/src/iOS/iOS.csproj b/src/iOS/iOS.csproj index 919d97e30..2e067f4d2 100644 --- a/src/iOS/iOS.csproj +++ b/src/iOS/iOS.csproj @@ -154,6 +154,14 @@ ..\..\packages\BTProgressHUD.1.2.0.3\lib\Xamarin.iOS10\BTProgressHUD.dll True + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.dll + True + + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.iOSBindings.dll + True + ..\..\packages\Newtonsoft.Json.9.0.1\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.dll True diff --git a/src/iOS/packages.config b/src/iOS/packages.config index 2f9a87f41..b6ddaebd7 100644 --- a/src/iOS/packages.config +++ b/src/iOS/packages.config @@ -4,6 +4,7 @@ +