In native iOS we can specify shouldAllowExtensionPointIdentifier to disable 3rd party keyboard.
-(BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(NSString *)extensionPointIdentifier
{
if (extensionPointIdentifier == UIApplicationKeyboardExtensionPointIdentifier)
{
return NO;
}
return YES;
}
In android is there a solution?
Is there a NPM package to block or detect 3rd party keyboard on both iOS and Android? Or we to write it in native and integrate it?