Skip to content

Commit 277db7b

Browse files
authored
fix(core): use getPlatform instead of platform in cordova.js (#7902)
1 parent 1ea86d1 commit 277db7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/cordova.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@
13201320

13211321
define('cordova/platform', function (require, exports, module) {
13221322
module.exports = {
1323-
id: Capacitor.platform,
1323+
id: Capacitor.getPlatform(),
13241324
bootstrap: function () {
13251325
require('cordova/channel').onNativeReady.fire();
13261326
},

0 commit comments

Comments
 (0)