121
Views
5
Comments
Android Intents in OutSystems Mobile Apps

We have a requirement whereby we will need to launch for example App B from App A and vice versa (i.e. App A from App B) making use of Android Intents.


We have been able to successfully launch the Zxing Barcode Scanner app from one of our Apps making use of the provided URL below when used in the RedirectToURL feature in OutSystems.

"intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;S.browser_fallback_url=http%3A%2F%2Fzxing.org;end;"


Now we would like to achieve the exact same making use of our own Apps (i.e. App A and App B).


Has anyone been able to successfully achieve this?

2019-03-19 12-24-07
Mariano Picco
 
MVP

Hello,

I've dealt with deep links before, launching our app from a Push notification, not in your specific use case.

Would this be helpful for your requirements?

https://success.outsystems.com/Documentation/How-to_Guides/Development/How_to_define_Mobile_App_deep_links

UserImage.jpg
Joel Mascarenhas

Hey ,
I am currently integrating clevertap with my OutSystems mobile app. I want to redirect to a specific page of my mobile app on click of a push notification. Currently, in the deeplink section of clevertap, when I give the deeplink of type {app_identifier}://{Module_name}/{ScreenName}  its not redirecting me to the specific page.It would be grateful if you guided me on what implementation I needed to do in my mobile app. 

2019-03-19 12-24-07
Mariano Picco
 
MVP

I am not familiar with clevertap, where does it send you to when you click on the notification? Do you see any parameters you've set with your deeplink as input parameters to that landing screen? You could set up a redirect perhaps...

UserImage.jpg
Joel Mascarenhas

Hello Mariano Picco,

I appreciate your prompt response. We've managed to resolve one aspect of the issue by ensuring that the app identifier we pass is in lowercase. However, we've encountered another issue regarding iOS: when the app is open or in the background, clicking on a push notification opens the application but not the desired page. Interestingly, if the app is killed and then the push notification is clicked, it redirects to the specific screen as intended. On Android, everything seems to be functioning correctly. We'd greatly appreciate any insights or solutions you might have on this matter.

2019-03-19 12-24-07
Mariano Picco
 
MVP


For the iOS and CleverTap specifics, especially with deeplinking behavior when the app's not fully closed, I'd recommend checking out the CleverTap support or iOS forums. They might have more insights on this particular issue, given it's more about how iOS handles these scenarios. Mentioning it's for an OutSystems app (cordova based) could still be useful for context. 

Also this conversation, has reached a similar dead-end
https://www.outsystems.com/forums/discussion/89056/integrating-cordova-deeplinks-plugin-how-to-add-elements-in-config-xml/


Can I ask out of curiosity if you have reached out to OutSystems support?

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