xpf work

got xpf working for iOS and Android