Skip to content

Commit 24ba005

Browse files
committed
Merge branch 'feature/sdl-7.0'
2 parents 650727d + 5800638 commit 24ba005

File tree

5 files changed

+21
-29
lines changed

5 files changed

+21
-29
lines changed

.DS_Store

0 Bytes
Binary file not shown.

MobileWeather.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@
609609
GCC_WARN_UNINITIALIZED_AUTOS = YES;
610610
GCC_WARN_UNUSED_FUNCTION = YES;
611611
GCC_WARN_UNUSED_VARIABLE = YES;
612-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
612+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
613613
ONLY_ACTIVE_ARCH = YES;
614614
SDKROOT = iphoneos;
615615
VALIDATE_PRODUCT = YES;
@@ -652,7 +652,7 @@
652652
GCC_WARN_UNINITIALIZED_AUTOS = YES;
653653
GCC_WARN_UNUSED_FUNCTION = YES;
654654
GCC_WARN_UNUSED_VARIABLE = YES;
655-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
655+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
656656
SDKROOT = iphoneos;
657657
VALIDATE_PRODUCT = YES;
658658
};

Podfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
platform :ios, '9.0'
1+
platform :ios, '10.0'
22
use_frameworks!
33

44
target 'MobileWeather' do
5-
pod 'SmartDeviceLink', :git => 'https://github.com/smartdevicelink/sdl_ios.git', :branch => 'develop'
5+
# pod 'SmartDeviceLink', :git => 'https://github.com/smartdevicelink/sdl_ios.git', :branch => 'develop'
6+
pod 'SmartDeviceLink', '~> 7.0'
67
end

Podfile.lock

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
11
PODS:
2-
- BiSON (1.2.0)
3-
- SmartDeviceLink (6.6.0):
4-
- BiSON (~> 1.2.0)
5-
- SmartDeviceLink/Default (= 6.6.0)
6-
- SmartDeviceLink/Default (6.6.0):
7-
- BiSON (~> 1.2.0)
2+
- BiSON (1.2.2)
3+
- SmartDeviceLink (7.0.0):
4+
- BiSON (~> 1.2.2)
5+
- SmartDeviceLink/Default (= 7.0.0)
6+
- SmartDeviceLink/Default (7.0.0):
7+
- BiSON (~> 1.2.2)
88

99
DEPENDENCIES:
10-
- SmartDeviceLink (from `https://github.com/smartdevicelink/sdl_ios.git`, branch `develop`)
10+
- SmartDeviceLink (~> 7.0)
1111

1212
SPEC REPOS:
1313
trunk:
1414
- BiSON
15-
16-
EXTERNAL SOURCES:
17-
SmartDeviceLink:
18-
:branch: develop
19-
:git: https://github.com/smartdevicelink/sdl_ios.git
20-
21-
CHECKOUT OPTIONS:
22-
SmartDeviceLink:
23-
:commit: 905175db124c1c80a7ae9611b98c48d7f9b2a2bd
24-
:git: https://github.com/smartdevicelink/sdl_ios.git
15+
- SmartDeviceLink
2516

2617
SPEC CHECKSUMS:
27-
BiSON: 1165a5486ee9755400b096cf374e1f03cb73a980
28-
SmartDeviceLink: 7971e530adc02d0540c8dba7a049a0edbebf97a1
18+
BiSON: efb26805ec99f4ad516b77e9a32ced05f1c0985d
19+
SmartDeviceLink: f073aae27d529a70637e76a651f0353d636cf0c5
2920

30-
PODFILE CHECKSUM: 6ca963dcdb2e354f2dc698c9fadf910a0c5a71b9
21+
PODFILE CHECKSUM: ffa2cab4e67f3181335663dcba8c06324ca5068e
3122

32-
COCOAPODS: 1.9.3
23+
COCOAPODS: 1.10.0

SmartDeviceLinkService.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ - (void)start {
103103

104104
// set the app display layout to the non-media template
105105
if ([self.templatesAvailable containsObject:SDLPredefinedLayoutNonMedia]) {
106-
SDLSetDisplayLayout *request = [[SDLSetDisplayLayout alloc] initWithLayout:SDLPredefinedLayoutNonMedia];
107-
[self.manager sendRequest:request];
106+
SDLTemplateConfiguration *template = [[SDLTemplateConfiguration alloc] initWithPredefinedLayout:SDLPredefinedLayoutNonMedia];
107+
[self.manager.screenManager changeLayout:template withCompletionHandler:nil];
108108
} else {
109109
// This head unit isn't supported
110110
SDLLogE(@"The non-media template isn't supported. This app may not work properly");
@@ -819,7 +819,7 @@ - (void)sendDefaultGlobalProperties {
819819

820820
NSString *promptString = [prompts componentsJoinedByString:@","];
821821

822-
SDLSetGlobalProperties *request = [[SDLSetGlobalProperties alloc] initWithHelpText:promptString timeoutText:promptString vrHelpTitle:self.localization[@"app.name"] vrHelp:[helpitems copy] menuTitle:nil menuIcon:nil keyboardProperties:nil menuLayout:nil];
822+
SDLSetGlobalProperties *request = [[SDLSetGlobalProperties alloc] initWithUserLocation:nil helpPrompt:[SDLTTSChunk textChunksFromString:promptString] timeoutPrompt:[SDLTTSChunk textChunksFromString:promptString] vrHelpTitle:self.localization[@"app.name"] vrHelp:[helpitems copy] menuTitle:nil menuIcon:nil keyboardProperties:nil menuLayout:nil];
823823
[self.manager sendRequest:request];
824824
}
825825

@@ -861,7 +861,7 @@ - (void)sendListGlobalProperties:(MWInfoType)infoType withPrevious:(BOOL)withPre
861861

862862
NSString *promptString = [prompts componentsJoinedByString:@","];
863863

864-
SDLSetGlobalProperties *request = [[SDLSetGlobalProperties alloc] initWithHelpText:promptString timeoutText:promptString vrHelpTitle:self.localization[@"app.name"] vrHelp:[items copy] menuTitle:nil menuIcon:nil keyboardProperties:nil menuLayout:nil];
864+
SDLSetGlobalProperties *request = [[SDLSetGlobalProperties alloc] initWithUserLocation:nil helpPrompt:[SDLTTSChunk textChunksFromString:promptString] timeoutPrompt:[SDLTTSChunk textChunksFromString:promptString] vrHelpTitle:self.localization[@"app.name"] vrHelp:[items copy] menuTitle:nil menuIcon:nil keyboardProperties:nil menuLayout:nil];
865865
[self.manager sendRequest:request];
866866
}
867867

0 commit comments

Comments
 (0)