Developing Third-party Dual-mode Apps