Skip to content

Commit 369c5ed

Browse files
authored
fix: iOS push workflow (#2825)
1 parent f1cf3f8 commit 369c5ed

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
<string>Main</string>
3131
<key>NSMicrophoneUsageDescription</key>
3232
<string>App needs Microphone access to capture audio</string>
33+
<key>NSPhotoLibraryUsageDescription</key>
34+
<string>App needs access to photo library</string>
3335
<key>UISupportedInterfaceOrientations</key>
3436
<array>
3537
<string>UIInterfaceOrientationPortrait</string>

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,6 +2050,18 @@ abstract class AppLocalizations {
20502050
/// **'Are you sure you want to delete this file?'**
20512051
String get deleteHint;
20522052

2053+
/// No description provided for @documentationLink.
2054+
///
2055+
/// In en, this message translates to:
2056+
/// **'https://docs.pslab.io/'**
2057+
String get documentationLink;
2058+
2059+
/// No description provided for @documentationError.
2060+
///
2061+
/// In en, this message translates to:
2062+
/// **'Could not open the documentation link'**
2063+
String get documentationError;
2064+
20532065
/// No description provided for @deleteFile.
20542066
///
20552067
/// In en, this message translates to:
@@ -2248,18 +2260,6 @@ abstract class AppLocalizations {
22482260
/// **'Please provide the maximum limit of lux value to be recorded'**
22492261
String get accelerometerHighLimitHint;
22502262

2251-
/// No description provided for @documentationLink.
2252-
///
2253-
/// In en, this message translates to:
2254-
/// **'https://docs.pslab.io/'**
2255-
String get documentationLink;
2256-
2257-
/// No description provided for @documentationError.
2258-
///
2259-
/// In en, this message translates to:
2260-
/// **'Could not open the documentation link'**
2261-
String get documentationError;
2262-
22632263
/// No description provided for @roboticArmIntro.
22642264
///
22652265
/// In en, this message translates to:
@@ -2271,7 +2271,6 @@ abstract class AppLocalizations {
22712271
/// In en, this message translates to:
22722272
/// **'• In the above figure, SQ1 is connected to the signal pin of the first servo motor. The servo\'s GND pin is connected to both the PSLab’s GND and the external power supply GND, while the VCC pin is connected to the external power supply VCC.\n• Similarly, connect the remaining servos to SQ2, SQ3, and SQ4 along with their respective GND and power supply connections.\n• Once connected, each servo can be controlled using either circular sliders for manual control or a timeline-based sequence for automated movement.'**
22732273
String get roboticArmConnection;
2274-
22752274
}
22762275

22772276
class _AppLocalizationsDelegate

lib/l10n/app_localizations_en.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,12 @@ class AppLocalizationsEn extends AppLocalizations {
10461046
@override
10471047
String get deleteHint => 'Are you sure you want to delete this file?';
10481048

1049+
@override
1050+
String get documentationLink => 'https://docs.pslab.io/';
1051+
1052+
@override
1053+
String get documentationError => 'Could not open the documentation link';
1054+
10491055
@override
10501056
String get deleteFile => 'Delete File';
10511057

@@ -1152,12 +1158,6 @@ class AppLocalizationsEn extends AppLocalizations {
11521158
String get accelerometerHighLimitHint =>
11531159
'Please provide the maximum limit of lux value to be recorded';
11541160

1155-
@override
1156-
String get documentationLink => 'https://docs.pslab.io/';
1157-
1158-
@override
1159-
String get documentationError => 'Could not open the documentation link';
1160-
11611161
@override
11621162
String get roboticArmIntro =>
11631163
'• A robotic arm is a programmable mechanical device that mimics the movement of a human arm.\n• It uses servo motors to control its motion, and these motors are operated using PWM signals.\n• The PSLab provides four PWM square wave generators (SQ1, SQ2, SQ3, SQ4), allowing control of up to four servo motors and enabling a robotic arm with up to four degrees of freedom.';

0 commit comments

Comments
 (0)