Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: BridgeIt 1.0.3
-
Fix Version/s: BridgeIt 1.0.3
-
Component/s: Containers
-
Labels:None
-
Environment:BridgeIt
Description
The BridgeIt response to the browser should contain the version number to allow web applications to prompt the user to update. No immediate response is taken by BridgeIt at this time since an application may be functional with an older feature set.
Initially assigning to Steve for Android implementation. iOS code will contain the following:
urlExtra = [urlExtra stringByAppendingString:@"&!v="];
urlExtra = [urlExtra stringByAppendingString:
[[[NSBundle mainBundle]
objectForInfoDictionaryKey:@"CFBundleShortVersionString"]
stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
Which will include a !v=1.0.4 in the response to the browser. The JSON64 implementation does not have such aggressive space optimization and will use
{version:"1.0.3"}as a return parameter.