ICEmobile
  1. ICEmobile
  2. MOBI-932

Update Bridgeit apps to return error code(s) for unsupported features

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: BridgeIt 1.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      any

      Description

      While implemented the Windows Phone 8 features I cam across an issue where I need to update the Bridgeit.js b.isSupportedPlatform() method as features are added to the phone.

      I see a problem with this approach:
      - bridgeit.js might not match the bridgeit version that is installed on the phone and result in out of sync supported features.

      As I see it we have three types of errors that can occur when launching bridgeit.
      1.) bridgeit isn't installed and needs to be downloaded from n app store.
      2.) brigeit is installed by doesn't support the c=command
      3.) brigeit launches succesfully but there is an error during the execution

      Possible solutions
      1.) covered in existing implementation, javascript times out and presents app store link.
      2.) Bridgeit is launch and the implementation knows what is supports. If support isn't found for a command then it the implementation could return an error code. For example reuturnURL_!e=404.
      3. If there is an execution error that can be caught the error could be returned using the the above format and unique error code.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: