Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7789

"navigator.contacts.find" will cause immediately shut down in wp8

    XMLWordPrintableJSON

Details

    Description

      when I use these code

      var options = new ContactFindOptions();
      options.filter = "";
      options.multiple = true;
      var filter_emails = ["emails"]
      navigator.contacts.find(filter_emails, refresh_contact_success_email, null, options);

      function refresh_contact_success_email(contacts)
      {
      alert('success')
      }

      in android and ios are work perfect (it will trigger "alert")
      but in wp8,it will immediately shut down

      PS
      if let the filter have a value such like options.filter = "abc";
      it will normal again

      Attachments

        Activity

          People

            Unassigned Unassigned
            bau720123 Colin Bau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified