api example: fix crash when no signature is present
fix intent demo crash, remove unused layout