Skip to content

Commit

Permalink
Add revision: v1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GovernikusAusweisApp2 committed Sep 30, 2019
1 parent feb2a15 commit 53fc9bb
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ELSE()
ENDIF()


PROJECT(AusweisApp2 VERSION 1.18.1 LANGUAGES ${LANGUAGES})
PROJECT(AusweisApp2 VERSION 1.18.2 LANGUAGES ${LANGUAGES})

# Set TWEAK if not defined in PROJECT_VERSION above to
# have a valid tweak version without propagating it
Expand Down
12 changes: 6 additions & 6 deletions cmake/Tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ IF(CONVERT)
COMMAND ${CONVERT} -alpha off -background '${BACKGROUND_COLOR}' -resize 152x152 iOS/appIcons/npa_beta.svg iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon76@2x.png
COMMAND ${CONVERT} -alpha off -background '${BACKGROUND_COLOR}' -resize 167x167 iOS/appIcons/npa_beta.svg iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon83.5@2x.png
COMMAND ${CONVERT} -alpha off -background '${BACKGROUND_COLOR}' -resize 1024x1024 iOS/appIcons/npa_beta.svg iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon1024.png
COMMAND ${CONVERT} -background none -resize 256x256 npa_beta.svg iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage.png
COMMAND ${CONVERT} -background none -resize 512x512 npa_beta.svg iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@2x.png
COMMAND ${CONVERT} -background none -resize 768x768 npa_beta.svg iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@3x.png
COMMAND ${CONVERT} -background none -resize 256x256 npa_beta.svg iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage.png
COMMAND ${CONVERT} -background none -resize 512x512 npa_beta.svg iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@2x.png
COMMAND ${CONVERT} -background none -resize 768x768 npa_beta.svg iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@3x.png
WORKING_DIRECTORY ${RESOURCES_DIR}/images)

ADD_CUSTOM_TARGET(npaicons.ios
Expand Down Expand Up @@ -281,9 +281,9 @@ IF(PNGQUANT)
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon76@2x.png -- iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon76@2x.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon83.5@2x.png -- iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon83.5@2x.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon1024.png -- iOS/appIcons/beta/Images.xcassets/AppIcon.appiconset/icon1024.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage.png -- iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@2x.png -- iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@2x.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@3x.png -- iOS/appIcons/Images.xcassets/LaunchImage.imageset/launchImage@3x.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage.png -- iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@2x.png -- iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@2x.png
COMMAND ${PNGQUANT_CMD} iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@3x.png -- iOS/appIcons/beta/Images.xcassets/LaunchImage.imageset/launchImage@3x.png
WORKING_DIRECTORY ${RESOURCES_DIR}/images)

ADD_CUSTOM_TARGET(pngquant.ios
Expand Down
15 changes: 15 additions & 0 deletions docs/releasenotes/1.18.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
AusweisApp2 1.18.2
^^^^^^^^^^^^^^^^^^

**Releasedatum:** 26. September 2019



Anwender
""""""""
- Kleinere Fehlerbehebungen.


Entwickler
""""""""""
- Anpassungen an der Info.plist.
1 change: 1 addition & 0 deletions docs/releasenotes/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Versionszweig 1.18
.. toctree::
:maxdepth: 1

1.18.2
1.18.1
1.18.0

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions resources/packaging/ios/MacOSXBundleInfo.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@
</array>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>
<string>fetch</string>
</array>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>AusweisApp2 needs Bluetooth to enable the required card reader.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
Expand Down
7 changes: 7 additions & 0 deletions resources/translations/ausweisapp2_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5081,6 +5081,13 @@ klicken.</translation>
<translation>https://www.ausweisapp.bund.de/fragen-und-antworten/bewerten-sie-uns/</translation>
</message>
</context>
<context>
<name>governikus::ApplicationModel</name>
<message>
<source>Please enable Wi-Fi in your system settings.</source>
<translation>Bitte aktivieren Sie WLAN in Ihren Systemeinstellungen.</translation>
</message>
</context>
<context>
<name>governikus::CardInfo</name>
<message>
Expand Down
13 changes: 2 additions & 11 deletions src/network/WifiInfo_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,8 @@

void WifiInfo::enableWifi()
{
NSArray* urlStrings = @[@"prefs:root=WIFI", @"App-Prefs:root=WIFI"];
for (NSString* urlString in urlStrings)
{
NSURL* url = [NSURL URLWithString:urlString];
if ([[UIApplication sharedApplication] canOpenURL:url])
{
[[UIApplication sharedApplication] openURL:url options:@{}
completionHandler:nil];
break;
}
}
// While it is possible to do this programmatically using private APIs, Apple will reject apps that do this.
qCWarning(qml) << "NOT IMPLEMENTED";
}


Expand Down
4 changes: 4 additions & 0 deletions src/ui/qml/ApplicationModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,11 @@ void ApplicationModel::onWifiEnabledChanged()

void ApplicationModel::enableWifi()
{
#ifdef Q_OS_IOS
showFeedback(tr("Please enable Wi-Fi in your system settings."));
#else
mWifiInfo.enableWifi();
#endif
}


Expand Down

0 comments on commit 53fc9bb

Please sign in to comment.