Have you tried setting it in the AndroidManifest.xml, withandroid:screenOrientation="portrait" . I see some StackOverflow about putting it in <application> , but you’d have put it in <activity> instead. Which means you’ll need to put a reference to “our” ReaderSdkPaymentActivity into “your” AndroidManifest, with minimal stuff in it, and letting the manfiest merging do its thing which is both sets of attributes together, mostly ours but also their screenOrientation.
Previously I responded to your examples, but I still can’t solve my problem… Will you have an example, I still can’t find how to apply your solutions.
Been working with @raiseralex21 on this, and @Bryan-Square was part of the way there! Turns out the activity we needed was actually com.squareup.ui.main.ApiMainActivity.
So in your manifest you can simply add the following code snippet bellow and the orientation should stay locked: