Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6438] ti.map not working with ti.playservcies v16.1.5

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2019-12-23T13:29:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsti.map, ti.playservices
ReporterYahya Uddin
AssigneeMotiur Rahman
Created2019-11-18T22:25:42.000+0000
Updated2019-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.

Comments

  1. Nazmus Salahin 2019-11-29

    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

JSON Source