ios - 沃尔玛电极基本了解
<p><p>我正在尝试使用 Electrode (Walmart - <a href="http://www.electrode.io/site/docs/introduction.html" rel="noreferrer noopener nofollow">http://www.electrode.io/site/docs/introduction.html</a>) 创建一个基于 ReactNative 的基本 iOS 应用</p>
<p>虽然我可以让该应用在我的 Mac 上本地运行,但我很难理解整个无线 (OTA) 更新可以/应该如何运行。</p>
<p>这是我到目前为止所做的</p>
<ul>
<li>使用 ern create-miniapp TestApp 创建了一个小应用</li>
<li>在 BitBucket 上创建了一个 GIT 存储库</li>
<li>使用 ern cauldron repo 添加 TestApp 创建了一个 Cauldron</li>
<li>使用 ern cauldron 添加原生应用 TestApp 添加原生应用</li>
</ul>
<p>但是当我使用 ern run-ios 运行应用程序时,它似乎仍然指向我的本地计算机(我可以更新 index-ios.js 文件并在应用程序中更新)。那么,让整个 OTA 设置运行到另一个程序员可以更新 cloud/bitbucket 中的 index-ios.js 文件(我猜)并即时更新应用程序的地方缺少什么?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>如果我理解正确,要使 OTA 工作,您需要使用 code-push 命令。</p>
<pre><code>ern code-push <miniapps..>
Options:
--help Show help
--descriptor, -d Full native application selector (target native application version for the push)
--force, -f Force upgrade (ignore compatibility issues -at your own risks-)
--appName Application name
--deploymentName Deployment to release the update to
--platform, -p Platform name (android / ios)
--targetBinaryVersion, -tSemver expression that specifies the binary app version(s) this release is targeting (e.g. 1.1.0, ~1.2.3)
--mandatory, -m Specifies whether this release should be considered mandatory
--rollout, -r Percentage of users this release should be immediately available to
--skipConfirmation, -s Skip final confirmation prompt if no compatibility issues are detected
More info about this command @ https://electrode.gitbooks.io/electrode-native/content/cli/code-push.html
</code></pre></p>
<p style="font-size: 20px;">关于ios - 沃尔玛电极基本了解,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/46888588/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/46888588/
</a>
</p>
页:
[1]