I’m saying this with no direct experience but if you are able to convert the base64 string to a byte array, you should be able to then write it to a file using the cordova file plugin
OK on looking I see you can convert base64 to blob, so that should theoretically do it