Register an intent for android, and CFBudleDocumentTypes for ios