...Plugins/cordova-plugin-service-worker/CDVServiceWorker.m:285:32: error:
no known class method for selector 'dataFromBase64String:'
NSData *data = [NSData dataFromBase64String:[response[@"body"] toString]];
^~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
This can be fixed by replacing that line with the line below:
This can be fixed by replacing that line with the line below:
NSData *data = [[NSData alloc] initWithBase64EncodedString:[response[@"body"] toString] options:0];