Open vuletuanbt opened 3 years ago
@vuletuanbt Are you running into issues with maintaining an up-to-date push token with this whole cachedDeviceToken
/accessToken
thing?
I solved the issue by removing the if
statement that compares them and just registering the token every time (which I believe is best practice per Apple's recommendations. Perhaps your solution addresses this issue?
Hi! ๐
Firstly, thanks for your work on this project! ๐
Today I used patch-package to patch
react-native-twilio-programmable-voice@4.3.1
for the project I'm working on.Here is the diff that solved my problem:
And then AppDelegate.m