Square In App SDK for Android stops when changing orientation in Card Entry Activity

Hello All, 
I am new to square and added In App SDK for Android and facing issue while I am in card entry screen and when I change the orientation of the device the Square push me back which creates bad user experience as it should allow to stop the Orientation change or allow to enter data in Any orientation. 
I have set my application to work in portrait mode only and started the Square card entry by writing this code. 

CardEntry.startCardEntryActivity(context as Activity, false, 1001)

Now When I change the device orientation to Landscape this Square card entry stops and returning the result cancelled event. I want to lock the square card entry to portrait mode only. 
Please help me to sort this out as soon as possible. 
Thanks in Advance.

737 Views
Message 1 of 4
Report
1 Solution
Square Community Moderator

Solution

Hi @HimanshuEvinced  - I see this is your first post in the Seller Community so I'd like to officially welcome you! 🎉👏 My name is Violet and I'm one of the Moderators here. I'm happy to provide you with some info.

 

I recommend posting this question in the Square Developer Forums here. If you're unable to find an answer there, you can contact our API support team via email by using this form: squ.re/contact - Their team will respond within 24 hours, Monday-Friday.


I hope this information is helpful, but please do let me know if you have any additional questions.

 

Violet
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.



View Solution >

702 Views
Message 2 of 4
Report
3 REPLIES 3
Square Community Moderator

Solution

Hi @HimanshuEvinced  - I see this is your first post in the Seller Community so I'd like to officially welcome you! 🎉👏 My name is Violet and I'm one of the Moderators here. I'm happy to provide you with some info.

 

I recommend posting this question in the Square Developer Forums here. If you're unable to find an answer there, you can contact our API support team via email by using this form: squ.re/contact - Their team will respond within 24 hours, Monday-Friday.


I hope this information is helpful, but please do let me know if you have any additional questions.

 

Violet
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.



703 Views
Message 2 of 4
Report

@_Violet Thanks for the updates.

677 Views
Message 3 of 4
Report
Square Community Moderator

You're welcome, @HimanshuEvinced !

Our standard support team isn't equipped to support API or developer questions, so I wanted to make sure that we get you in touch with our experts 🙂

 

I hope they're able to resolve this for you! 🤞

Violet
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.



653 Views
Message 4 of 4
Report