[AC-5230] Android hyperloop unable to get current activity
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2017-11-29T20:33:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Sean Conway |
Assignee | Shak Hossain |
Created | 2017-09-24T07:16:59.000+0000 |
Updated | 2017-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
Hello, your provided code is not sufficient to test the issue. Please send the full sample code or a sample app.
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