app_swift patched for contactpoint use