MobileFirst Platform Foundation サービスでプッシュ通知を有効にしようとしています。しかし、Bluemix を初期化すると、次のエラー メッセージが表示されます。
"Uncaught Exception: ReferenceError: IBMBluemix is not defined at (compiled_code):10"
ReferenceError: IBMBluemix is not defined
TypeError: cordova.define is not a function
"Uncaught Exception: TypeError: cordova.define is not a function as (compiled_code):1"
index.html情報を追加するために編集
<script type="text/javascript" src="http://www.testapp.com/blog/js/jquery.order.js"></script>
<script src="js/Services.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript" src="js/bluemix/IBMBluemixHybrid.js"></script>
<script type="text/javascript" src="js/bluemix/IBMDataHybrid.js"></script>
<script type="text/javascript" src="js/bluemix/IBMPushHybrid.js"></script>
<script type="text/javascript" src="js/bluemix/IBMBluemix.js"></script>
<script type="text/javascript" src="js/bluemix/IBMBluemix.min.js"></script>
<script type="text/javascript" src="js/bluemix/IBMBluemixHybrid.js"></script>
<script type="text/javascript" src="js/bluemix/IBMCloudCode.js"></script>
<script type="text/javascript" src="js/bluemix/IBMCloudCode.min.js"></script>
<script type="text/javascript" src="js/bluemix/IBMCloudCodeService.js"></script>
<script type="text/javascript" src="js/bluemix/IBMData.js"></script>
<script type="text/javascript" src="js/bluemix/IBMData.min.js"></script>
<script type="text/javascript" src="js/bluemix/IBMDataHybrid.js"></script>
<script type="text/javascript" src="js/bluemix/IBMPush.js"></script>
<script type="text/javascript" src="js/bluemix/IBMPush.min.js"></script>
<script type="text/javascript" src="js/bluemix/IBMPushHybrid.js"
</script>