Skip to content

[Android 1.2.2] bridgefy.send returns "pending" instead of a message ID #82

@antoinerousseau

Description

@antoinerousseau

Using version 1.2.2, Android sync does not work anymore:

Bridgefy starts properly and gives me a userId but when later I try to send a message like this:

await bridgefy.initialize("our_key_here", true, BridgefyOperationMode.HYBRID);

await bridgefy.start();

// get the `currentBridgefyUserId` from `bridgefy.onStart` and then later:

const messageId = await bridgefy.send("hello", {
  type: BridgefyTransmissionModeType.BROADCAST,
  uuid: currentBridgefyUserId,
});

On iOS I get a message ID, but on Android I get "pending"

Also, we tried with your example app and it's the same issue (all permissions are good, SDK is initialized and started, but when we refresh peers or broadcast a message we get nothing)

We tried different propagation profiles (standard and realtime) and different operation modes (foreground and hybrid) but nothing works!

Device: Pixel 10 Pro and/or Moto G84
Expo 55
React Native 0.83.8
bridgefy-react-native 1.2.2

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions