Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25873

Android: Intent - getData(), getAction() always equal to null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
      2
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK

      Description

      Issue: When I use the deep link for my project and try to access the Ti.Android.currentActivity.getIntent().getData() it always returns null for Ti SDK 6.2.0 and above but If I downgrade the SDK to 6.1.2 then it works fine. It cannot read data from incoming intents.

      Steps to Reproduce
      1. Create a new alloy App and use the following test code
      2. Install the app on any android device.
      2. Goto the browser and browse to https://uktvplay.uktv.co.uk site.
      3. Click on any episodes
      4. It will open up the app but getData() is always null but it should return a URL

      Test code:

      Expected Result: It should return the URL when the App is opened from the deep link.

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                morahman Motiur Rahman
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6245
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code