[AC-6438] ti.map not working with ti.playservcies v16.1.5
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2019-12-23T13:29:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ti.map, ti.playservices |
Reporter | Yahya Uddin |
Assignee | Motiur Rahman |
Created | 2019-11-18T22:25:42.000+0000 |
Updated | 2019-12-23T13:29:44.000+0000 |
Description
I have the following minimal reproducible example.
The modules I have are:
<module platform="android" version="16.1.5">ti.playservices</module>
<module platform="android" version="4.5.0">ti.map</module>
I am running Titanium v8.2.1
*index.xml*
<Alloy>
<Window class="container">
<Button onClick="onClickButton">Click Me</Button>
</Window>
</Alloy>
*index.js*
function onClickButton() {
console.log("Requesting Permisson...");
Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE, function (e) {
// this never runs!
console.log("Code for requestLocationPermissions()");
});
}
When running the above app, and clicking the button, the permission dialog does not show up, and the code block inside does not run.
For ti.playservices
v16.1.5, it does not work.
For ti.playservices
v16.1.4, the app doesn't even start
For ti.playservices
v16.1.3, the app works as expected
Please fix.
Hello! Thanks for reaching to us. Ti.playservices module v16.1.4 and v16.1.5 does not support right now. Please try to use the ti.playservices module v16.1.3 in your application. See the latest ti SDK release note: https://wiki.appcelerator.org/display/guides2/Titanium+SDK+8.3.0.GA+Release+Note#TitaniumSDK8.3.0.GAReleaseNote-AndroidandiOS Thanks