Hey, I found a solution. I don't know the root cause of why this issue occurred, but this hack will solve it.
It has to do with the splash screen plugin, in CDVViewController+SplashScreen.m.
- (BOOL)enabledAutorotation
{
NSNumber *number = (NSNumber *)objc_getAssociatedObject(self, @selector(enabledAutorotation));
return [number boolValue];
}
Debugging this, number is always nil. Why? I have no idea...but if I change this to:
- (BOOL)enabledAutorotation
{
//NSNumber *number = (NSNumber *)objc_getAssociatedObject(self, @selector(enabledAutorotation));
NSNumber *number = @1;
return [number boolValue];
}
It works beautifully. Again, take this with a grain of salt, I don't know what unintended consequences it will have, but I haven't found any so far.