ICEmobile
  1. ICEmobile
  2. MOBI-1165

BridgeIt - FetchContact crashes app. on iOS 10.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: BridgeIt 1.0.6
    • Fix Version/s: BridgeIt 1.0.7
    • Component/s: BridgeIt
    • Labels:
      None
    • Environment:
      BridgeIt 1.0.6, iOS 10 on iphone 5

      Description

      Testing with iOS 10 shows that everything is working except the Fetch Contact feature. Initiating Fetch Contact switches to the BridgeIt app, but once a contact is selected it crashes to the home screen.

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Summary BridgeIt - FetchContact crashed app. on iOS 10. BridgeIt - FetchContact crashes app. on iOS 10.
        Hide
        Patrick Corless added a comment -

        The first main issue is related to new privacy settings introduced in iOS10. The new properties are added to the projects info.plist which are basically localized message for the respective popups that will appear when features that are deemed privacy-sensitive. The new properties are as follows.

        <key>NSCameraUsageDescription</key>
        <string>$(PRODUCT_NAME) uses Camera</string>
        <key>NSContactsUsageDescription</key>
        <string>$(PRODUCT_NAME) uses Contact</string>
        <key>NSLocationAlwaysUsageDescription</key>
        <string>Background location data is sent to the upload URL.</string>
        <key>NSMicrophoneUsageDescription</key>
        <string>$(PRODUCT_NAME) uses Microphone</string>
        <key>NSPhotoLibraryUsageDescription</key>
        <string>$(PRODUCT_NAME) uses Photo Library</string>

        Show
        Patrick Corless added a comment - The first main issue is related to new privacy settings introduced in iOS10. The new properties are added to the projects info.plist which are basically localized message for the respective popups that will appear when features that are deemed privacy-sensitive. The new properties are as follows. <key>NSCameraUsageDescription</key> <string>$(PRODUCT_NAME) uses Camera</string> <key>NSContactsUsageDescription</key> <string>$(PRODUCT_NAME) uses Contact</string> <key>NSLocationAlwaysUsageDescription</key> <string>Background location data is sent to the upload URL.</string> <key>NSMicrophoneUsageDescription</key> <string>$(PRODUCT_NAME) uses Microphone</string> <key>NSPhotoLibraryUsageDescription</key> <string>$(PRODUCT_NAME) uses Photo Library</string>
        Hide
        Patrick Corless added a comment -

        One the properties are added the application will run and users can use video (camera and sound), camera (video and photo library) and of course contacts.

        The contacts issue was also related to how the iOS 8 contacts list was accessed. After a little poking around it looks like the iOS8 implementation is now deprecated and the error is related. So the implementation was swapped out for the new way to do contact lookup in iOS9 and the older iOS8 and iOS7 code was removed (yes there was two!).

        Show
        Patrick Corless added a comment - One the properties are added the application will run and users can use video (camera and sound), camera (video and photo library) and of course contacts. The contacts issue was also related to how the iOS 8 contacts list was accessed. After a little poking around it looks like the iOS8 implementation is now deprecated and the error is related. So the implementation was swapped out for the new way to do contact lookup in iOS9 and the older iOS8 and iOS7 code was removed (yes there was two!).
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s BridgeIt 1.0.7 [ 12370 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: