unexpected behavior

I think there is something wrong with, org.apache.cordova.core.device is installed.

I tried the following
ionic.Platform.platforms => ["cordova", "ios", "ios7", "ios7"]

Then'cordova'); => false

Also note that ios7 is duplicated in the platform array, only'ios') returns true.

P.S: The above was run using weiner's console connected to a real iPhone 4. I am also facing some problems with ionic.Platform.ready() but I will check it separately and report back.

Reported at github issues.