How do I resolve the "routing not found" error after switching the appKey on iOS?

更新时间:
复制 MD 格式

Problem description

After switching the appKey on iOS, initialization returns a "routing not found" error.

Cause

  • A routing not found error occurs during initialization if you switch the appKey or appSecret by overwriting the installation. This is because the cache from older SDK versions is not cleared.

Solution

  • If you are using an SDK version earlier than v1.7.2, you must switch the appKey or appSecret by uninstalling and then reinstalling the app. Do not overwrite the installation.
  • This issue is fixed in SDK v1.7.2 and later versions.