mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
linphonerc: set debug_popup_email in factory
This commit is contained in:
parent
fe0c140be6
commit
b9990b46d2
3 changed files with 6 additions and 3 deletions
|
|
@ -254,8 +254,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
block:^{
|
||||
NSString *appName =
|
||||
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
|
||||
NSString *logsAddress =
|
||||
[mgr lpConfigStringForKey:@"debug_popup_email" withDefault:@"linphone-ios@linphone.org"];
|
||||
NSString *logsAddress = [mgr lpConfigStringForKey:@"debug_popup_email" withDefault:@""];
|
||||
[self presentMailViewWithTitle:appName forRecipients:@[ logsAddress ] attachLogs:true];
|
||||
}];
|
||||
|
||||
|
|
|
|||
|
|
@ -815,7 +815,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
[picker setSubject:NSLocalizedString(@"<Please describe your problem or you will be ignored>",
|
||||
@"Email title for people wanting to send a bug report")];
|
||||
[picker setToRecipients:[NSArray arrayWithObjects:@"linphone-iphone@belledonne-communications.com", nil]];
|
||||
[picker setToRecipients:[NSArray
|
||||
arrayWithObjects:[LinphoneManager.instance lpConfigStringForKey:@"debug_popup_email"
|
||||
withDefault:@""],
|
||||
nil]];
|
||||
[picker setMessageBody:NSLocalizedString(@"Here are information about an issue I had on my device.\nI was "
|
||||
@"doing ...\nI expected Linphone to ...\nInstead, I got an "
|
||||
@"unexpected result: ...",
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ display_filter_auto_rotate=0
|
|||
#use_phone_number=0
|
||||
send_logs_include_linphonerc_and_chathistory=0
|
||||
#debug_popup_magic=**00**
|
||||
debug_popup_email=linphone-iphone@belledonne-communications.com
|
||||
|
||||
[assistant]
|
||||
username_length=-1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue