0
코드바 2.1.0을 사용 중이며 상태 표시 줄에 알림을 추가하려고합니다. 잡히지 않은 TypeError : 정의되지 않은 'statusBarNotification'속성을 읽을 수 없습니다.
나는 프로젝트에 관련된 자바 파일과 JS 스크립트를 포함하고, 내 HTML 코드에서<plugin name="StatusBarNotification" value="com.phonegap.plugins.statusBarNotification.StatusBarNotification"/>
, 나는에 다음 줄을 추가했던 config.xml 파일에 다음 줄을 추가 한 것 내
<script src="cordova-2.1.0.js"/>
<script src="statusbarnotification.js"/>
와 콘텐츠 DIV 페이지의 하단에 머리 태그, 난 다음 스크립트
<script>
window.plugins.statusBarNotification.notify("Message Header", "Message details");
</script>
에게 추가했던 내가 안드로이드 4.0 에뮬레이터에서 실행할 때 414,그러나, 나는 오류를 타격하고 있습니다 :
Uncaught TypeError: Cannot read property 'statusBarNotification' of undefined
사람은 이전에이 문제가 발생할 수있다?