Skip to content

Commit ea138c1

Browse files
author
Damiano
committed
ios gps permission
1 parent 9dd95d5 commit ea138c1

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

MobileClient/QtProject/ios/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
<true/>
6767
<key>NOTE</key>
6868
<string>This file was generated by Qt/QMake.</string>
69+
<key>NSLocationWhenInUseUsageDescription</key>
70+
<string>Location is needed to display spots around you</string>
6971
<key>UILaunchStoryboardName</key>
7072
<string>LaunchScreen</string>
7173
<key>UIStatusBarStyle</key>

MobileClient/QtProject/src/cpp/HelperClasses/LocationManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void LocationManager::slot_GeoPositionInfoSource_positionUpdated(QGeoPositionInf
265265

266266
void LocationManager::slot_GeoPositionInfoSource_UpdateTimeout()
267267
{
268-
Logger::warning(QString("LocationManager::%1(): GeoPositionInfoSource update timeout").arg(__FUNCTION__));
268+
Logger::warning(QString("LocationManager::%1()").arg(__FUNCTION__));
269269
}
270270

271271
//-----------------------------------------------------------------------------------------------------------------------------

MobileClient/QtProject/src/cpp/HelperClasses/LocationManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class LocationManager : public QObject
2828
Q_PROPERTY(QGeoCoordinate coordinate READ coordinate NOTIFY signal_Coordinate_changed )
2929

3030
public:
31+
3132
explicit LocationManager(Settings *settings,
3233
PlateformDetail *plateformDetail,
3334
QObject *parent = 0);

0 commit comments

Comments
 (0)