@simplysm/capacitor-plugin-broadcast 13.0.93 → 13.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,8 +137,8 @@ interface BroadcastPlugin {
|
|
|
137
137
|
|
|
138
138
|
- **패키지:** `kr.co.simplysm.capacitor.broadcast`
|
|
139
139
|
- **플러그인명:** `Broadcast`
|
|
140
|
-
- `subscribe`: `RETURN_CALLBACK` 방식 (call.setKeepAlive), UUID 기반 receiver ID 관리
|
|
141
|
-
- extras 타입
|
|
142
|
-
- Intent -> JSON
|
|
140
|
+
- `subscribe`: `RETURN_CALLBACK` 방식 (`call.setKeepAlive`), UUID 기반 receiver ID 관리
|
|
141
|
+
- **전송 시 extras 타입 (JSON -> Intent):** `String`, `Integer`, `Long`, `Double`, `Boolean`, `JSONArray`(-> `String[]`), `JSONObject`(-> `Bundle`)
|
|
142
|
+
- **수신 시 extras 타입 (Intent -> JSON):** `String`, `Integer`, `Long`, `Double`, `Float`(-> `Double`), `Boolean`, `Bundle`(-> 재귀 변환), `String[]`, `int[]`, `Parcelable`(-> `toString()`), `Parcelable[]`, 기타(-> `toString()`)
|
|
143
143
|
- Android 13+: `RECEIVER_EXPORTED` 플래그 사용
|
|
144
144
|
- `handleOnDestroy`에서 모든 receiver 자동 해제
|