After fill the merchant details MID , TID it goes to activation screen and show activated .but progress bar still showing indefinitely .
can you post the logcat?
Its working with Genymotion Emulator .thanks
Hi, I’m having the same issue with an Android Emulator. On my logcat I can see this right after the POST to https://services.poynt.net/storeDevices/activate:
04-15 16:45:34.602 4772 4858 D CLOUD-API: <— HTTP 200 https://services.poynt.net/storeDevices/activate (1194ms)
04-15 16:45:34.602 4772 4858 D CLOUD-API: Server: nginx
04-15 16:45:34.602 4772 4858 D CLOUD-API: Date: Sun, 15 Apr 2018 16:45:35 GMT
04-15 16:45:34.602 4772 4858 D CLOUD-API: Content-Type: application/json;charset=UTF-8
04-15 16:45:34.602 4772 4858 D CLOUD-API: Transfer-Encoding: chunked
04-15 16:45:34.602 4772 4858 D CLOUD-API: Connection: keep-alive
04-15 16:45:34.602 4772 4858 D CLOUD-API: Vary: Accept-Encoding
04-15 16:45:34.602 4772 4858 D CLOUD-API: Poynt-Request-Id: ca328cdd-0162-1000-e72d-ee19c4b45c4b
04-15 16:45:34.602 4772 4858 D CLOUD-API: Poynt-Build-Info: 1.2.430-20180404-2357
04-15 16:45:34.602 4772 4858 D CLOUD-API: Instance-Id: i-0fbcb518926539ca1
04-15 16:45:34.602 4772 4858 D CLOUD-API: Strict-Transport-Security: max-age=31536000; includeSubdomains;
04-15 16:45:34.602 4772 4858 D CLOUD-API: OkHttp-Selected-Protocol: http/1.1
04-15 16:45:34.602 4772 4858 D CLOUD-API: OkHttp-Sent-Millis: 1523810734216
04-15 16:45:34.602 4772 4858 D CLOUD-API: OkHttp-Received-Millis: 1523810734599
04-15 16:45:34.603 4772 4858 D CLOUD-API: {“alreadyActivated”:false}
04-15 16:45:34.603 4772 4858 D CLOUD-API: <— END HTTP (26-byte body)
04-15 16:45:34.656 4772 4858 D CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:404: AsyncTask #1 Activation complete - updating DB with device status (urn:tid:be0073f7-cac7-332c-9fa6-c988c14ae255)
04-15 16:45:34.732 4772 4858 D CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:829: AsyncTask #1 Updated device (urn:tid:be0073f7-cac7-332c-9fa6-c988c14ae255) status (A) for row count:0
04-15 16:45:34.732 4772 4858 I CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:261: AsyncTask #1 Loading key file from external directory
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: AsyncTask #1 Key file doens’t exist - need to activate again
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: java.io.FileNotFoundException: /storage/emulated/0/.poynt_key: open failed: ENOENT (No such file or directory)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.IoBridge.open(IoBridge.java:452)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.io.FileInputStream.(FileInputStream.java:76)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.io.FileReader.(FileReader.java:42)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntAuthProcessorImpl.loadKeyPair(PoyntAuthProcessorImpl.java:267)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntAuthProcessorImpl.reloadKeyPair(PoyntAuthProcessorImpl.java:147)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntBusinessProcessorImpl.activateTerminal(PoyntBusinessProcessorImpl.java:408)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.tasks.business.TerminalActivationTask.doInBackground(TerminalActivationTask.java:50)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.tasks.business.TerminalActivationTask.doInBackground(TerminalActivationTask.java:25)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at android.os.AsyncTask$2.call(AsyncTask.java:295)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.lang.Thread.run(Thread.java:818)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.Posix.open(Native Method)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.IoBridge.open(IoBridge.java:438)
04-15 16:45:34.741 4772 4858 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: … 12 more
04-15 16:45:34.824 4772 4864 D CO.POYNT.SERVICES/LoadBusinessTask.java:48: AsyncTask #2 Getting business for storeDeviceId: urn:tid:be0073f7-cac7-332c-9fa6-c988c14ae255
04-15 16:45:34.842 4772 4864 D CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:502: AsyncTask #2 Obtaining new device token using self-issued jwt
04-15 16:45:34.842 4772 4864 I CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:261: AsyncTask #2 Loading key file from external directory
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: AsyncTask #2 Key file doens’t exist - need to activate again
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: java.io.FileNotFoundException: /storage/emulated/0/.poynt_key: open failed: ENOENT (No such file or directory)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.IoBridge.open(IoBridge.java:452)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.io.FileInputStream.(FileInputStream.java:76)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.io.FileReader.(FileReader.java:42)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntAuthProcessorImpl.loadKeyPair(PoyntAuthProcessorImpl.java:267)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntAuthProcessorImpl.getSelfIssuedDeviceToken(PoyntAuthProcessorImpl.java:542)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.processors.PoyntAuthProcessorImpl.getDeviceToken(PoyntAuthProcessorImpl.java:504)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.tasks.business.LoadBusinessTask.doInBackground(LoadBusinessTask.java:51)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at co.poynt.services.tasks.business.LoadBusinessTask.doInBackground(LoadBusinessTask.java:25)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at android.os.AsyncTask$2.call(AsyncTask.java:295)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at java.lang.Thread.run(Thread.java:818)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.Posix.open(Native Method)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: at libcore.io.IoBridge.open(IoBridge.java:438)
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: … 12 more
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:587: AsyncTask #2 No public/Private Keypair found for the devive
04-15 16:45:34.851 4772 4864 E CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:510: AsyncTask #2 Failed to obtain deviceJWT
04-15 16:45:34.851 4772 4864 D CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:132: AsyncTask #2 Getting business object for deviceId urn:tid:be0073f7-cac7-332c-9fa6-c988c14ae255
04-15 16:45:34.851 4772 4864 W CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:137: AsyncTask #2 NO CURRENT BUSINESS ID
04-15 16:45:34.878 4772 4864 E CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:156: AsyncTask #2 Access token required to fetch business from cloud
04-15 16:45:34.878 4772 4772 D CO.POYNT.SERVICES/LoadBusinessTask.java:84: main Get business failed for device (urn:tid:be0073f7-cac7-332c-9fa6-c988c14ae255)
04-15 16:45:34.914 4736 4736 E null : Business is null
04-15 16:45:34.914 4736 4736 V SetupActivity: Poynt error is null.
04-15 16:45:35.239 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:386: SecondScreenHandlerThread Trying to create second screen display again
04-15 16:45:35.240 4772 4805 D CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:342: SecondScreenHandlerThread # of displays (1)
04-15 16:45:35.240 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:382: SecondScreenHandlerThread No second display - will check again in 5 secs…
04-15 16:45:35.951 1651 1956 W audio_hw_generic: Not supplying enough data to HAL, expected position 1583240 , only wrote 1446929
04-15 16:45:36.237 4772 4807 I CO.POYNT.SERVICES/Ln.java:136: CardReaderConnectionMonitor Not running on a Poynt Terminal - disabling card reader
04-15 16:45:36.237 4772 4807 D CO.POYNT.SERVICES/Ln.java:112: CardReaderConnectionMonitor card reader disabled for (Android SDK built for x86)
04-15 16:45:40.246 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:386: SecondScreenHandlerThread Trying to create second screen display again
04-15 16:45:40.249 4772 4805 D CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:342: SecondScreenHandlerThread # of displays (1)
04-15 16:45:40.249 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:382: SecondScreenHandlerThread No second display - will check again in 5 secs…
04-15 16:45:41.243 4772 4807 I CO.POYNT.SERVICES/Ln.java:136: CardReaderConnectionMonitor Not running on a Poynt Terminal - disabling card reader
04-15 16:45:41.243 4772 4807 D CO.POYNT.SERVICES/Ln.java:112: CardReaderConnectionMonitor card reader disabled for (Android SDK built for x86)
04-15 16:45:45.255 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:386: SecondScreenHandlerThread Trying to create second screen display again
04-15 16:45:45.257 4772 4805 D CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:342: SecondScreenHandlerThread # of displays (1)
04-15 16:45:45.257 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:382: SecondScreenHandlerThread No second display - will check again in 5 secs…
04-15 16:45:46.248 4772 4807 I CO.POYNT.SERVICES/Ln.java:136: CardReaderConnectionMonitor Not running on a Poynt Terminal - disabling card reader
04-15 16:45:46.248 4772 4807 D CO.POYNT.SERVICES/Ln.java:112: CardReaderConnectionMonitor card reader disabled for (Android SDK built for x86)
04-15 16:45:50.264 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:386: SecondScreenHandlerThread Trying to create second screen display again
04-15 16:45:50.264 4772 4805 D CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:342: SecondScreenHandlerThread # of displays (1)
04-15 16:45:50.264 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:382: SecondScreenHandlerThread No second display - will check again in 5 secs…
04-15 16:45:51.255 4772 4807 I CO.POYNT.SERVICES/Ln.java:136: CardReaderConnectionMonitor Not running on a Poynt Terminal - disabling card reader
04-15 16:45:51.255 4772 4807 D CO.POYNT.SERVICES/Ln.java:112: CardReaderConnectionMonitor card reader disabled for (Android SDK built for x86)
04-15 16:45:55.270 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:386: SecondScreenHandlerThread Trying to create second screen display again
04-15 16:45:55.274 4772 4805 D CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:342: SecondScreenHandlerThread # of displays (1)
04-15 16:45:55.274 4772 4805 I CO.POYNT.SERVICES/PoyntSecondScreenProcessorImpl.java:382: SecondScreenHandlerThread No second display - will check again in 5 secs…
i’ve the same issue with emulator any solution?
Did anybody find any solution to this?
I am using AVD.
logcat:
05-10 10:52:02.757 4506-4547/co.poynt.launcher E//LauncherActivity.java:872: Binder_3 Unable to retrieve business
05-10 10:52:05.296 4194-4585/co.poynt.services E/CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:287: RxCachedThreadScheduler-1 Key file doens’t exist - need to activate again
java.io.FileNotFoundException: /storage/emulated/0/.poynt_key: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at java.io.FileInputStream.(FileInputStream.java:76)
at java.io.FileReader.(FileReader.java:42)
at co.poynt.services.processors.PoyntAuthProcessorImpl.loadKeyPair(PoyntAuthProcessorImpl.java:267)
at co.poynt.services.processors.PoyntAuthProcessorImpl.getSelfIssuedDeviceToken(PoyntAuthProcessorImpl.java:542)
at co.poynt.services.processors.PoyntAuthProcessorImpl.getDeviceToken(PoyntAuthProcessorImpl.java:504)
at co.poynt.services.processors.PoyntBusinessProcessorImpl$1.call(PoyntBusinessProcessorImpl.java:343)
at co.poynt.services.processors.PoyntBusinessProcessorImpl$1.call(PoyntBusinessProcessorImpl.java:332)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:44)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:33)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable.unsafeSubscribe(Observable.java:7304)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at java.io.FileInputStream.(FileInputStream.java:76)
at java.io.FileReader.(FileReader.java:42)
at co.poynt.services.processors.PoyntAuthProcessorImpl.loadKeyPair(PoyntAuthProcessorImpl.java:267)
at co.poynt.services.processors.PoyntAuthProcessorImpl.getSelfIssuedDeviceToken(PoyntAuthProcessorImpl.java:542)
at co.poynt.services.processors.PoyntAuthProcessorImpl.getDeviceToken(PoyntAuthProcessorImpl.java:504)
at co.poynt.services.processors.PoyntBusinessProcessorImpl$1.call(PoyntBusinessProcessorImpl.java:343)
at co.poynt.services.processors.PoyntBusinessProcessorImpl$1.call(PoyntBusinessProcessorImpl.java:332)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:44)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:33)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable.unsafeSubscribe(Observable.java:7304)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
05-10 10:52:05.296 4194-4585/co.poynt.services E/CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:587: RxCachedThreadScheduler-1 No public/Private Keypair found for the devive
05-10 10:52:05.296 4194-4585/co.poynt.services E/CO.POYNT.SERVICES/PoyntAuthProcessorImpl.java:510: RxCachedThreadScheduler-1 Failed to obtain deviceJWT
05-10 10:52:05.305 4194-4585/co.poynt.services E/CO.POYNT.SERVICES/PoyntBusinessProcessorImpl.java:156: RxCachedThreadScheduler-1 Access token required to fetch business from cloud