Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

how to set google pub/sub message attribute in react-native?

Kun
Bronze 2
Bronze 2

I want to use multiple subscriptions on one topic using React-Native and NestJs. and I use the 'React-Native-IAP' API.

The reason is that I use the test server and the actual server.

I would like to distinguish each subscription as a value of RTDN's Message.attributes.

To do this, I think that when purchasing the item from React-Native, I should create and send attributes.

But I don't know this.

In summary, I want to create a message.attributes for RTDN in REACT-NATIVE.

Please let me know if my thoughts are wrong.

1 1 799
1 REPLY 1