HomePhabricator
Diffusion Comm c304dcad62dc

[native] Add sendPong method

Description

[native] Add sendPong method

Summary:
Add a C++ method that can be called from java. This method should be called in a response to PING background notification.
We're still using an old method here, which will be replaced by send soon, but updating it should be trivial.

Depends on D3132

Test Plan: Modify notification handling code to call NetworkModule.sendPong(), send a notification and check if the C++ code was called

Reviewers: karol-bisztyga, ashoat, atul, jimpo

Reviewed By: karol-bisztyga, ashoat

Subscribers: jimpo, benschac, ashoat, Adrian, atul

Differential Revision: https://phabricator.ashoat.com/D3133

Details

Provenance
tomekAuthored on Feb 8 2022, 6:33 AM
Reviewer
karol
Differential Revision
D3133: [native] Add sendPong method
Parents
rCOMMd3f0edd1bcc5: [native] Introduce a JNI network module helper
Branches
Unknown
Tags
Unknown