{"action":"opened","issue":{"url":"https://api.github.com/repos/NIFTYCloud-mbaas/UserCommunity/issues/312","labels_url":"https://api.github.com/repos/NIFTYCloud-mbaas/UserCommunity/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/NIFTYCloud-mbaas/UserCommunity/issues/312/comments","events_url":"https://api.github.com/repos/NIFTYCloud-mbaas/UserCommunity/issues/312/events","html_url":"https://github.com/NIFTYCloud-mbaas/UserCommunity/issues/312","id":121416832,"number":312,"title":"Monaca Cordova5.2アップデートでwindow.NCMB.monaca.setDeviceTokenがエラーになる","user":{"login":"kagura0106","id":15769054,"avatar_url":"https://avatars.githubusercontent.com/u/15769054?v=3","gravatar_id":"","url":"https://api.github.com/users/kagura0106","html_url":"https://github.com/kagura0106","followers_url":"https://api.github.com/users/kagura0106/followers","following_url":"https://api.github.com/users/kagura0106/following{/other_user}","gists_url":"https://api.github.com/users/kagura0106/gists{/gist_id}","starred_url":"https://api.github.com/users/kagura0106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kagura0106/subscriptions","organizations_url":"https://api.github.com/users/kagura0106/orgs","repos_url":"https://api.github.com/users/kagura0106/repos","events_url":"https://api.github.com/users/kagura0106/events{/privacy}","received_events_url":"https://api.github.com/users/kagura0106/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T06:42:46Z","updated_at":"2015-12-10T06:42:46Z","closed_at":null,"body":"Monaca＋Nifty mBaasでアプリの作成を行っております。\r\n既存のプロジェクトをCordova5.2にアップデートしたところ、\r\nAndroid 5.0以上の端末において下記の不具合がおきてしまいました。\r\n\r\nwindow.NCMB.monaca.setDeviceTokenで「Uncaught TypeError: Cannot read property 'setDeviceToken' of undefined」のエラーが起こってしまう。\r\n\r\n動作確認のために、\r\nhttp://mb.cloud.nifty.com/doc/current/push/basic_usage_monaca.html\r\nに記載されているソースで試してみたところ\r\n\r\nncmb.min.js\r\nを追加すると動かなくなり\r\n\r\nmeta http-equiv=\"Content-Security-Policy\" content=\"default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'\"\r\n\r\nを追加するとエラーが何度かに一度発生ことがあるようです。\r\n\r\nこちらどのようにすれば解決できますでしょうか"}}