简体   繁体   English

MobileFirst Cordova 升级

[英]MobileFirst Cordova Upgrade

I was using mobile first 6.2 and currently updated to 7.1.我使用的是移动优先 6.2,目前更新到 7.1。

And a file upload .js is not working after update.更新后文件上传 .js 不起作用。 It was originally load by a iframe, but now the "choose file" button is not working.它最初是由 iframe 加载的,但现在“选择文件”按钮不起作用。 I guess it's about the cordova library.我想这是关于cordova库的。

However i researched the cordova library will auto update after the upgrade of mobilefirst.但是我研究了cordova库会在mobilefirst升级后自动更新。 Or it's the problem from the cordova.js that i imported?或者是我导入的cordova.js 的问题?

<script type="text/javascript" charset="utf-8" src="./js/cordova-android-2.3.0.js">  
......
<td id="tdChooseExistADiv" class="tdL" align="center" id="chooseExistADivTd">
    <div id="chooseExistADiv" style="margin: 0;padding: 0;left: 0;top: 0;display: block;"><img id="chooseExistAImg" src="./images/text-button/btn_choosexisting.jpg" alt="" /></div>
    <input id="uploadInput" name="selectFileInput" type="file" style="z-index: 999;font-size:27px;filter:alpha(opacity=0);opacity:0;" ></input>
</td>

You cannot manually upgrade the bundled Cordova in MobileFirst Platform 7.1.您无法在 MobileFirst Platform 7.1 中手动升级捆绑的 Cordova。

Your options are:您的选择是:

  1. Open a PMR with your exact problem and a full reproduction so the team could look at it and patch the bundled Cordova打开包含您的确切问题和完整复制品的 PMR,以便团队可以查看它并修补捆绑的 Cordova
  2. Move to MobileFirst Foundation 8.0 where you can use any version of Cordova (MobileFirst SDK is a Cordova plug-in in this release)转移到 MobileFirst Foundation 8.0,您可以在其中使用任何版本的 Cordova(MobileFirst SDK 是此版本中的 Cordova 插件)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM