Tien Yu Lin
Tien Yu Lin
The problem is that even we used the `SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);`, the orientation is still able to be changed in iOS devices. There's a workaround: restrict the config to only the portrait...
This is insane. Requested to dive into the native flutter code. Native code land point: the `SystemMethodChannel` for the `setPreferredOrientations` method call. (iOS) Flutter 3.7.2 ```dart static Future setPreferredOrientations(List orientations)...
https://developer.apple.com/forums/thread/707735 https://developer.apple.com/documentation/uikit/uiviewcontroller/1621438-preferredinterfaceorientationfor
Those are articles which talked about session ID and pruning of chat completion. https://community.openai.com/t/why-does-the-chat-completions-endpoint-not-use-a-session-id/81791 https://community.openai.com/t/openai-api-chat-completion-pruning-methods/85237