React Native Base64 Encode
const Buffer = require("buffer").Buffer;
let encodedAuth = new Buffer("your text").toString("base64");
GutoTrosla
const Buffer = require("buffer").Buffer;
let encodedAuth = new Buffer("your text").toString("base64");