adding screen orientation and cardreader api