fingerproof/cordova-plugin-gapreload — pull request #5 by dlmiles (2014-11-05 20:31:52+00:00)
Title: Remove dependency on org.apache.cordova.device for obtaining platformId

Tested this as best I can, both with http:// origin and file:/// origin and confirmed the cordova.platformId string looks both available and set during that code execution.