diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m
index 1b51761d1..944254e5f 100644
--- a/Classes/LinphoneAppDelegate.m
+++ b/Classes/LinphoneAppDelegate.m
@@ -159,6 +159,11 @@
NSMutableArray *preferences = [rootSettings objectForKey:@"PreferenceSpecifiers"];
NSMutableDictionary *defaultsToRegister = [[NSMutableDictionary alloc] initWithCapacity:[preferences count]];
+ NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
+// NSString *appDisplayName = [infoDictionary objectForKey:@"CFBundleDisplayName"];
+ NSString *majorVersion = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
+// NSString *minorVersion = [infoDictionary objectForKey:@"CFBundleVersion"];
+
NSDictionary *appDefaults = [NSDictionary dictionaryWithObjectsAndKeys:
@"YES", @"debugenable_preference",
@"YES", @"enable_video_preference",
@@ -175,13 +180,15 @@
@"ringtone_01_1600", @"ringtone_preference",
@"ringtone_01_1600", @"level_ringtone_preference",
@"NO", @"lockdoors_preference",
+ majorVersion, @"version_preference",
nil];
[defaultsToRegister addEntriesFromDictionary:appDefaults];
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsToRegister];
[defaultsToRegister release];
[[NSUserDefaults standardUserDefaults] synchronize];
-
+
+ [[NSUserDefaults standardUserDefaults] setValue:majorVersion forKey:@"version_preference"];
}
/**/
diff --git a/Settings.bundle/Root.plist b/Settings.bundle/Root.plist
index 916d77c87..d585bdd63 100644
--- a/Settings.bundle/Root.plist
+++ b/Settings.bundle/Root.plist
@@ -168,6 +168,24 @@
Type
PSToggleSwitchSpecifier
+
+ AutocapitalizationType
+ None
+ AutocorrectionType
+ No
+ DefaultValue
+
+ IsSecure
+
+ Key
+ version_preference
+ KeyboardType
+ Alphabet
+ Title
+ Version
+ Type
+ PSTitleValueSpecifier
+
StringsTable
Root
diff --git a/buschjaeger-Info.plist b/buschjaeger-Info.plist
index f0640de18..d574087b9 100644
--- a/buschjaeger-Info.plist
+++ b/buschjaeger-Info.plist
@@ -32,6 +32,8 @@
buschjaeger_icon_57@2x.png
buschjaeger_icon_72@2x.png
+ UIPrerenderedIcon
+
CFBundleIdentifier