# (📖#) 從develop合到master 注意事項 ### 1. InAppBrowserServiceProvider裡的gotToWebRegister <div style="background-color: #dedcdc; padding: 8px 15px;list-style-position:inside; border-radius: 5px;margin-bottom: 10px"> <span style="font-size : 15px"> ✔ <span style="font-weight: bold;text-decoration:underline;"> 正式區官網 </span>要打開。 </span> <br> <span style="font-size : 15px" > ❌ <span style="font-weight: bold;text-decoration:underline;"> 測試區官網 </span> 要關閉。 </span> --- <span style="font-size : 15px"> ✔站台是 https://a1web.azurewebsites.net/ </span> <br> <span style="font-size : 15px"> ❌不是 https://a1practice.azurewebsites.net/ </span> </div> --- ### 2. Global.ts <div style="background-color: #dedcdc; padding: 8px 15px;list-style-position:inside; border-radius: 5px;margin-bottom: 10px"> <span style="font-size : 15px"> ✔ <span style="font-weight: bold;text-decoration:underline;"> 正式區api </span>要打開。 </span> <br> <span style="font-size : 15px" > ❌ <span style="font-weight: bold;text-decoration:underline;"> 開發區api </span> 要關閉。 </span> --- <span style="font-size : 15px"> 👉 <span style="font-weight: bold;text-decoration:underline;"> storeAppName </span> 要找到對應的 <span style="font-weight: bold;text-decoration:underline;"> IOS </span> 或 <span style="font-weight: bold;text-decoration:underline;"> Android </span> </span> 。 <br> <span style="font-size : 15px"> 👉 <span style="font-weight: bold;text-decoration:underline;"> CodePushKey </span> 也要找到對應的 <br> <span style="font-weight: bold;text-decoration:underline;margin-left: 25px;"> IOS </span> : Staging 或 Production。 <br> <span style="font-weight: bold;text-decoration:underline;margin-left: 25px;"> Android </span> : Staging 或 Production。 </span> </div> --- ### 3. config.xml <div style="background-color: #dedcdc; padding: 8px 15px;list-style-position:inside; border-radius: 5px;margin-bottom: 10px"> <span style="font-size : 15px"> 搜尋 <span style="font-weight: bold;text-decoration:underline;"> CodePushDeploymentKey </span> </span> 找到兩處,一處為IOS,一處為Android。 <br> <span style="font-size : 15px" > 後面的 <span style="font-weight: bold;text-decoration:underline;"> value</span> 值根據現在分支是<span style="font-weight: bold;text-decoration:underline;"> develop </span>還是<span style="font-weight: bold;text-decoration:underline;"> master </span>而改變。 </span> <br> <br> <span style="font-size : 15px"> 若是<span style="font-weight: bold;text-decoration:underline;"> develop </span>,則value要分別填上Global.ts裡面的<span style="font-weight: bold;text-decoration:underline;"> Android Staging </span>和<span style="font-weight: bold;text-decoration:underline;"> IOS Staging </span>。 </span> <br> <span style="font-size : 15px"> 若是<span style="font-weight: bold;text-decoration:underline;"> master </span>,則value要分別填上Global.ts裡面的<span style="font-weight: bold;text-decoration:underline;"> Android Production </span>和<span style="font-weight: bold;text-decoration:underline;"> IOS Production </span>。 </span> </div>