콘텐츠로 건너뛰기

모바일 메시지 인박스 설정

메시지 인박스를 사용하면 이러한 알림을 위한 전용 섹션을 만들어 앱에 가장 중요한 메시지를 보관할 수 있습니다. 메시지는 알림과 함께 또는 알림 없이 인박스로 전달될 수 있으며, 이는 설정에서 선택할 수 있습니다.

앱에 인박스 설정하기

Anchor link to

앱에 메시지 인박스를 구현하려면 Pushwoosh 인박스 라이브러리를 프로젝트에 추가하세요. 인박스 설정에 대한 자세한 지침과 샘플 프로젝트가 포함된 Github 리포지토리를 참조하세요:

iOS

https://github.com/Pushwoosh/pushwoosh-inbox-ui-ios-sdk#pushwoosh-inbox-ui

Android

https://github.com/Pushwoosh/pushwoosh-inbox-ui-android-sdk#pushwoosh-inbox-ui

크로스플랫폼 프레임워크

크로스플랫폼 앱에서 메시지 인박스를 구현하려면 presentInboxUI 메서드를 호출하세요. 현재 Cordova, React Native, Flutter, Xamarin에서 사용할 수 있습니다.

읽지 않은 메시지 배지

Anchor link to

인박스 아이콘 위에 배지로 읽지 않은 메시지 수를 표시하려면 다음 API 메서드를 사용하세요:

iOS

[PWInbox unreadMessagesCountWithCompletion:^(NSInteger count, NSError *error) { }];

Android

PushwooshInbox.unreadMessagesCount(result -> { });