mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-20 18:48:25 +00:00
xcodeproj: use debug remote push notification when building Release so that it can works with Crashlytics
This commit is contained in:
parent
cf6df33919
commit
1c7882d4b4
2 changed files with 4 additions and 2 deletions
|
|
@ -1635,7 +1635,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
||||||
LinphoneCall *currentCall = linphone_core_get_current_call(theLinphoneCore);
|
LinphoneCall *currentCall = linphone_core_get_current_call(theLinphoneCore);
|
||||||
const MSList *callList = linphone_core_get_calls(theLinphoneCore);
|
const MSList *callList = linphone_core_get_calls(theLinphoneCore);
|
||||||
if (!currentCall // no active call
|
if (!currentCall // no active call
|
||||||
&& callList // at least one call in a non active state
|
&& callList // at least one call in a non active state
|
||||||
&& ms_list_find_custom((MSList *)callList, (MSCompareFunc)comp_call_state_paused, NULL)) {
|
&& ms_list_find_custom((MSList *)callList, (MSCompareFunc)comp_call_state_paused, NULL)) {
|
||||||
[self startCallPausedLongRunningTask];
|
[self startCallPausedLongRunningTask];
|
||||||
}
|
}
|
||||||
|
|
@ -1991,7 +1991,7 @@ static void audioRouteChangeListenerCallback(void *inUserData, // 1
|
||||||
}
|
}
|
||||||
// NSLocalizedString(@"IC_MSG", nil); // Fake for genstrings
|
// NSLocalizedString(@"IC_MSG", nil); // Fake for genstrings
|
||||||
// NSLocalizedString(@"IM_MSG", nil); // Fake for genstrings
|
// NSLocalizedString(@"IM_MSG", nil); // Fake for genstrings
|
||||||
#ifdef DEBUG
|
#ifdef USE_APN_DEV
|
||||||
#define APPMODE_SUFFIX @"dev"
|
#define APPMODE_SUFFIX @"dev"
|
||||||
#else
|
#else
|
||||||
#define APPMODE_SUFFIX @"prod"
|
#define APPMODE_SUFFIX @"prod"
|
||||||
|
|
|
||||||
|
|
@ -4558,6 +4558,7 @@
|
||||||
HAVE_SILK,
|
HAVE_SILK,
|
||||||
HAVE_SSL,
|
HAVE_SSL,
|
||||||
DEBUG,
|
DEBUG,
|
||||||
|
USE_APN_DEV,
|
||||||
);
|
);
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||||
|
|
@ -4732,6 +4733,7 @@
|
||||||
VIDEO_ENABLED,
|
VIDEO_ENABLED,
|
||||||
HAVE_SILK,
|
HAVE_SILK,
|
||||||
HAVE_SSL,
|
HAVE_SSL,
|
||||||
|
USE_APN_DEV,
|
||||||
);
|
);
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue