For Ios, you need to update your infoPlist by adding
infoPlist: { NSMicrophoneUsageDescription: "The app records ...", UIBackgroundModes: ["audio"], }
to your config.ios