Opened 7 years ago

Closed 6 years ago

#15219 closed enhancement (wontfix)

PhoneGap/Cordova has() feature testing module

Reported by: Chris Mitchell Owned by: Eric Durocher
Priority: low Milestone: tbd
Component: DojoX Mobile Version: 1.7.2
Keywords: cordova phonegap has Cc: cjolif
Blocked By: Blocking:

Description

Add feature tests for use with Dojo Mobile, so that it's easy to remove environment specific code or degrade applications more gracefully when also supporting phone gap capabilities.

Attachments (1)

cordova.js (5.6 KB) - added by Chris Mitchell 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by Chris Mitchell

Status: newopen

comment:2 Changed 7 years ago by Chris Mitchell

Owner: changed from ykami to Eric Durocher
Status: openassigned

comment:3 Changed 7 years ago by Chris Mitchell

Keywords: cordova phonegap has added
Priority: undecidedlow

Changed 7 years ago by Chris Mitchell

Attachment: cordova.js added

comment:4 Changed 7 years ago by cjolif

Cc: cjolif added

comment:5 Changed 7 years ago by Chris Mitchell

TODO: Look into removing dependency on dojo/_base/lang, so that this can be used with any AMD loader.

cordova-connection test returns a string connection type. instead of this, iterate through the cordova types and do has.add("cordova-connectiontype-{type}" with a bool return value for each type.

comment:6 Changed 6 years ago by cjolif

Resolution: wontfix
Status: assignedclosed

candidate for https://github.com/ibm-dojo/dcordova in 2.0, won't fix as part of dojo 1.x.

Note: See TracTickets for help on using tickets.