google / paco

The Paco behavioral science mobile research platform
http://www.pacoapp.com/
Apache License 2.0
327 stars 93 forks source link

warning when taking photo #854

Open yimingcheung opened 10 years ago

yimingcheung commented 10 years ago

This warning happens when taking a photo for a survey, but it doesn't happen every time. The warning message is: "Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates."

The logs are as follow: 2014-02-17 17:48:40.182 Paco[7761:60b] Self-report 2014-02-17 17:48:43.622 Paco[7761:60b] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates. 2014-02-17 17:48:46.448 Paco[7761:60b] Received memory warning. error in __connection_block_invoke_2: Connection interrupted 2014-02-17 17:48:47.764 Paco[7761:60b] Survey shows up: 2014-02-17 17:48:47.766 Paco[7761:60b] Need to detect active notification.

dhanya commented 10 years ago

@yimingcheung : the error shows up when device is help in landscape position and camera is opened up.

yimingcheung commented 10 years ago

@dhanya : Good to know! Then let me re-assign this ticket to myself for later investigation.