Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5230] Android hyperloop unable to get current activity

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-11-29T20:33:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterSean Conway
AssigneeShak Hossain
Created2017-09-24T07:16:59.000+0000
Updated2017-11-29T20:33:31.000+0000

Description

Steps to Reproduce

I am using the mapbox android 5.1 library using Hyperloop. I get the following error when I try and get the activity/context: [WARN] : TiAndroid: (main) [1311,1780] Application instance no longer available. Unable to get current activity.

Actual Result

Cannot get app or activity context: [WARN] : TiAndroid: (main) [1311,1780] Application instance no longer available. Unable to get current activity.

Expected Result

Correct activity context. WIth my mapbox android module I use the proxy.getActivity() function successfully.

Attachments

FileDateSize
.log2017-09-24T07:17:01.000+00003353034
diagnostic5806354945926885172.log2017-09-24T07:17:19.000+0000110063
index.js2017-09-24T07:17:19.000+00002216

Comments

  1. Sharif AbuDarda 2017-11-07

    Hello, your provided code is not sufficient to test the issue. Please send the full sample code or a sample app.
  2. Mostafizur Rahman 2017-11-27

    Hello [~scconway8@gmail.com], I just wanted to follow up here. Did you manage to follow the instructions provided earlier? Let us know if you still experience any issue. We would be happy to assist you. Best Regards! Best

JSON Source