Mediator
Mediator

Reputation: 15378

How to Achieve Square Camera View with SDK 51?

I recently upgraded to SDK 51 and noticed that the camera aspect ratio option has been removed. In previous versions, I could set the camera to a square view by adjusting the aspect ratio, but now it seems to default to a rectangular view.

Could anyone provide guidance on how to achieve a square camera view with the new SDK? Are there any new methods or properties that need to be used?

Thanks in advance for your help!

Upvotes: 0

Views: 202

Answers (1)

Mediator
Mediator

Reputation: 15378

We found a solution. The solution is to migrate from native-base to gluestack (even migration lib).

Upvotes: 0

Related Questions