티스토리 뷰
안드로이드 퀵스타트대로 따라 했는데
https://parse.com/apps/quickstart#parse_push/android/native/existing
에뮬레이터에서만 푸시 알림이 오고
실 기기에는 오지 않는 문제가 생겨
핵스트레스에 빠졌다가 겨우 방법을 발견하여 해결할 수 있었다.
AndroidManifest.xml 에 추가한
<receiver android:name="com.parse.ParsePushBroadcastReceiver" android:exported="false">
<intent-filter>
<action android:name="com.parse.push.intent.RECEIVE" />
<action android:name="com.parse.push.intent.DELETE" />
<action android:name="com.parse.push.intent.OPEN" />
</intent-filter>
</receiver>부분 중 <intent-filter> 의 자식요소로 아래와같이 2줄을 추가해주면 됨
<receiver android:name="com.parse.ParsePushBroadcastReceiver" android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="com.parse.push.intent.RECEIVE" />
<action android:name="com.parse.push.intent.DELETE" />
<action android:name="com.parse.push.intent.OPEN" />
</intent-filter>
</receiver>'모바일 > Android' 카테고리의 다른 글
| android emulator 발생 system ui isn't responding 오류 대응 (0) | 2022.06.15 |
|---|---|
| 구글 플레이스토어 배포에서 앱이름 검색까지 소요 시간 (1) | 2015.12.23 |
| Android wifi 이용한 remote debugging (0) | 2014.09.22 |
| Remote Debugging Chrome on Android (0) | 2014.02.24 |
| Jar Mismatch Found 2 versions of android-support-v4.jar (2) | 2013.11.03 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- PHP
- JSON
- macos
- API
- IE
- nginx
- git
- iis
- sencha touch
- javascript
- iphone
- CSS
- centos
- Android
- laravel
- Docker
- ASP
- IOS
- mssql
- 안드로이드
- Prototype
- Wordpress
- nodejs
- 한글
- Mac
- JQuery
- 워드프레스
- Linux
- Debug
- classic asp
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함