Eric Lewerentz

Results 3 comments of Eric Lewerentz

Have you tried to use base64 of your static images? I had similar issues that I managed to address just now. See #73 for example

> hey can you share the code for this.castFileToBase64('images/background.png') method? async castFileToBase64(androidPath: any) { return new Promise((resolve, reject) => { RNFetchBlob.fs.readFile(RNFetchBlob.fs.asset(androidPath), 'base64').then( content => { resolve('data:image/png;base64,' + content); }) });...

An alternative, as suggested @IvanFon is to use pair token. Dont forget to set 'ROTATE_REFRESH_TOKENS' to True, if you decide to go for the pair token approach. I forgot this...