27
Views
2
Comments
Mobile app to appear as share option in other apps
Question
Application Type
Mobile

Hi,
I need an Outsystems mobile app to appear in the share options in other apps. For example, when doing a share in Google Maps, the OS 11 mobile app needs to appear as an option.
Is there any component I can use for this? For what I checked changing the Extensibility Configurations doesn't work so probably a plugin is needed.

Best regards

2024-06-10 11-39-07
Abhishek Mandloi
AI Generated

Hi @Mi Gar,

OutSystems by default does not provide direct support for making your mobile app appear as a share target (i.e., in the “Share” options of other apps like Google Maps). The Extensibility Configurations in OutSystems control permissions and manifest settings, but they are not enough for this use case.

To achieve this, you would need to create or use a Cordova plugin that registers your app as a share target. Here’s the recommended approach:

  1. Use a Cordova / Capacitor plugin that supports Android “Share Intent” (e.g., cordova-plugin-intent-receiver or a custom-built plugin).

  2. Configure the plugin to handle android.intent.action.SEND and android.intent.action.SEND_MULTIPLE intents.

  3. In your OutSystems app, use the OutSystems Forge “Advanced Native Plugin” or a Custom Plugin integration to capture and handle the shared data (text, URL, image, etc.).

  4. If no existing Forge component fits, you can build a custom plugin using the OutSystems documentation: 👉 Creating Your Own Plugins

So in short:

  • There’s no built-in or Forge component that makes the app appear in the Android/iOS share list directly.

  • You’ll need a custom Cordova plugin to register the app as a share target and handle incoming shared content.

If you want more information about this u can see Documentation in Outsystems.

Thank You.


This answer was AI-generated. Please read it carefully and use the forums for clarifications
2024-09-16 04-37-55
Karan Shinde

Hi, 

  1. Choose a plugin— likely “Android Intent Handler” for Android, and research equivalent for iOS Share Extension (if you need iOS).

  2. In your OutSystems module, open Extensibility Configs and include the plugin (resource + manifest hooks).

  3. Add the intent-filter/extension definitions explicitly (you may need to edit the plugin’s plugin.xml or manifest file snippet).

  4. In your app logic, add a screen/action which handles the input from the share (maybe using plugin callback).

  5. Test thoroughly on device: in Google Maps or other app tap “Share”, see if your app appears.

  6. If not appearing, check logs / manifest to ensure match of mime type / category.


Mark as solution if this helped! 

Thank You.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.