Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md: adressed comments #78

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ public void login(String username, String password, String fcmToken) {
public void login(String username, String password, String fcmToken, String certificateId) {
endpoint.login(username, password, fcmToken, certificateId);
}

// To logout with SIP Server
public void logout() {
endpoint.logout();
}
```
#### With Access Tokens/ JWT
You can register an endpoint using:
Expand Down Expand Up @@ -218,7 +223,7 @@ public class PlivoFCMService extends FirebaseMessagingService {


NOTE: ```relayIncomingPushData``` is now deprecated. Use ```loginForIncomingWithUsername``` method
and ``loginForIncomingWithUsername``
and ``loginWithJwtToken``


incomingData is the Map object forwarded by the firebase push notification. This will enable the application to receive incoming calls even the app is not in foreground.
Expand Down