It is a two activity application one of which can be accessed either through
deep link or notification action created through MainActivity
.
- dlapp://deep-link.demo/secret-screen (used by notification action)
- http://deep-link.demo/secret-screen
They will navigate the user to SecretActivity
- Clone this repository and switch to mater branch(default).
- Open it in the android studio.
- Build it.
- Install it in an Android devices with Android version from 6 to 13.
Download the debug apk from here.
Follow the steps in these files:
- notification_steps.md : Contains steps for creating and showing Notification
- deep_link_steps.md : Contains steps for creating deep link and notification integration.
- summery.md : Contains progress, challenges and their solution and recommendation about this project.
This repository contains three branches.
- master: Main default branch.
- notification_implementation: Notification Implementation.
- deep_link_implementation: Deep link implementation with Notification.
- MainActivity :
Main entry point which contains a TextView and a Button.
After clicking the button, you will get a notification. Clicking on its action will navigate you
to the
SecretActivity
. - SecretActivity : An activity that can only be accessed either through deep link or notification action