如何将MFP 8 Beta移动应用程序移至MFP 8 GA版本? [英] How to move a MFP 8 Beta Mobile App to the MFP 8 GA Version?

查看:129
本文介绍了如何将MFP 8 Beta移动应用程序移至MFP 8 GA版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况如此:

我构建了一个与mfp 8 beta不同集成的应用。

I build a app with different integrations with the mfp 8 beta.

该应用程序完全在本地开发服务器上运行,主要在Bluemix上运行。
测试期间。该应用程序的所有基本功能都适用于MFP 8 Beta服务器(本地和Bluemix)

The app worked fully on the local dev server and mostly on the Bluemix. During the beta. All basic functions of the app, were working on both MFP 8 Beta servers (Local and Bluemix)

现在我已经为安装了用于MFP的实际CLI 8 GA和我在Bluemix上创建了一个MFP 8开发服务器。

Now I have installed actual CLI for MFP 8 GA and I created a MFP 8 Development Server on Bluemix.

我仍然在本地计算机上安装了本地MFP 8 Beta Development Server。

I still have the local MFP 8 Beta Development Server installation on my local machine.

现在,即使我使用的是实际的CLI MFP8,移动应用程序仍可与本地beta mfp 8服务器上的UserLogin适配器配合使用。

Now the mobile app still works with the "UserLogin" Adapter on the local beta mfp 8 server, even when I use the actual CLI MFP8.

但该应用程序无法在Bluemix上开发MFP 8 GA服务器。

But the app does not work the development MFP 8 GA server on Bluemix.

注意:顺便说一下本地开发MFP8服务器下载当前不是可用。

Th is是config.xml条目

This is the config.xml entry

    <mfp:platformVersion>8.0.0.00-20160328-0234</mfp:platformVersion>
    <mfp:clientCustomInit enabled="false" />
    <mfp:server runtime="mfp" url="http://mobilefoundation8-XXXXX-server.mybluemix.net:80" />
    <!-- mfp:server runtime="mfp" url="http://LOCAL_IP:9080" /> -->
    <mfp:directUpdateAuthenticityPublicKey />
    <mfp:languagePreferences>en</mfp:languagePreferences>

这些是chrome中的调试信息:

These are the debug information in chrome:


  1. 在本地mfp 8 beta开发服务器上工作:


  1. 不使用Bluemix MFP 8开发服务器

ERROR MESSAGE详细信息不知道在哪里搜索:​​

ERROR MESSAGE detail do not know where to search:

"responseText":"{\"errorCode\":\"INVALID_CLIENT_ID\",\"errorMsg\":\"Invalid client ID.\"

推荐答案

客户端SDK




  • Cordova:删除并重新添加任何cordova-mfp- *您可能在应用中使用的插件

  • iOS:从项目的根文件夹执行 pod update 请注意podfile结构已更改

  • Android:重新构建项目

  • Windows:执行 nuget update 来自项目的根文件夹

  • Client SDKs

    • Cordova: remove and re-add any cordova-mfp-* plug-in you may have in your app
    • iOS: execute pod update from the project's root folder (note that the podfile structure has changed)
    • Android: re-build the project
    • Windows: execute nuget update from the project's root folder

      1. 卸载: npm uninstall -g mfpdev-cli

      2. 重新安装: npm install -g mfpdev-cli

      1. Uninstall: npm uninstall -g mfpdev-cli
      2. Reinstall: npm install -g mfpdev-cli

      ^由于阻止将适配器部署到Bluemix托管的MobileFirst服务器的错误而需要

      ^ Required due to a bug that prevented deployment of adapters to a Bluemix-hosted MobileFirst Server

      清除(或完全删除,删除)工作站中的〜/ .m2文件夹并重新构建它们使用GA工件。

      Clear (or completely delete, remove) the ~/.m2 folder in your workstation and re-build them to use GA artifacts.

      ^由于阻止将适配器部署到Bluemix的错误而需要 - 托管的MobileFirst Server

      ^ Required due to a bug that prevented deployment of adapters to a Bluemix-hosted MobileFirst Server

      ^您还应该创建一个新的适配器而不是beta适配器,或者将适配器的pom.xml文件更新为新创建的适配器结构(某些字段的值将不同)

      ^ You should also either create a new adapter instead of the beta adapter, or update the adapter's pom.xml file to be like a newly created adapter's structure (some fields' values will be different)

      更新与安全相关的API,因为这些已更改测试版与GA之间。请参阅此处: https://mobilefirstplatform.ibmcloud.com/blog/2016 / 06/22 / challenge-handlers /

      Update your security-related APIs, as these have changed between the beta and GA. See here: https://mobilefirstplatform.ibmcloud.com/blog/2016/06/22/challenge-handlers/

      它是建议创建一个新的服务器实例;测试期间创建的实例的支持很快就会停止。

      It is recommended to create a new server instance; support for instances created during the beta will soon be stopped.

      下载并安装安装程序的GA版本,替换现有版本。

      Download and install the GA version of the installer, replacing your existing.

      这篇关于如何将MFP 8 Beta移动应用程序移至MFP 8 GA版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆