Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
StoreMonitor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramesh Babu Puvvadi
StoreMonitor
Commits
f4cbf453
Commit
f4cbf453
authored
Jul 09, 2024
by
Gautam G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added calling & sms for ios app
parent
03cd7684
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
39 deletions
+41
-39
build.gradle
android/app/build.gradle
+22
-22
Podfile
ios/Podfile
+1
-0
Podfile.lock
ios/Podfile.lock
+1
-1
NavBar.dart
lib/Screens/NavBar.dart
+5
-4
pubspec.lock
pubspec.lock
+12
-12
No files found.
android/app/build.gradle
View file @
f4cbf453
...
...
@@ -54,32 +54,32 @@ android {
versionName
flutterVersionName
}
// buildTypes {
// release {
// // TODO: Add your own signing config for the release build.
// // Signing with the debug keys for now, so `flutter run --release` works.
// signingConfig signingConfigs.debug
// }
// }
signingConfigs
{
release
{
keyAlias
'storemonitor'
keyPassword
'123456'
storeFile
file
(
'/Users/swdev/storemonitor.jks'
)
storePassword
'123456'
}
}
// ...
buildTypes
{
release
{
signingConfig
signingConfigs
.
release
minifyEnabled
false
shrinkResources
false
// ...
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig
signingConfigs
.
debug
}
}
// signingConfigs {
// release {
// keyAlias 'storemonitor'
// keyPassword '123456'
// storeFile file('/Users/swdev/storemonitor.jks')
// storePassword '123456'
// }
// }
// ...
// buildTypes {
// release {
// signingConfig signingConfigs.release
// minifyEnabled false
// shrinkResources false
// // ...
// }
// }
}
...
...
ios/Podfile
View file @
f4cbf453
...
...
@@ -57,6 +57,7 @@ post_install do |installer|
'PERMISSION_PHOTOS=1'
,
'PERMISSION_MEDIA_LIBRARY=1'
,
'PERMISSION_STORAGE=1'
,
'PERMISSION_SMS=1'
,
]
end
end
...
...
ios/Podfile.lock
View file @
f4cbf453
...
...
@@ -250,6 +250,6 @@ SPEC CHECKSUMS:
wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
PODFILE CHECKSUM:
f5c401d70a85c1a2bcb5bb955d432bb93ef7870b
PODFILE CHECKSUM:
e2aa1157bd0a0f858359f3f55cd3aee6f74070ec
COCOAPODS: 1.15.2
lib/Screens/NavBar.dart
View file @
f4cbf453
...
...
@@ -80,7 +80,7 @@ class _NavBarState extends State<NavBar> {
void
requestPhoneCallPermission
()
async
{
if
(!
mounted
)
return
;
// Check if the widget is still mounted
PermissionStatus
status
=
await
Permission
.
phone
.
request
();
PermissionStatus
status
=
await
Permission
.
micro
phone
.
request
();
if
(
kDebugMode
)
{
print
(
'Status
$status
'
);
}
...
...
@@ -770,7 +770,9 @@ class _customdialog1state extends State<CustomDialog1> {
// }
void
requestSmsPermission
(
String
message
,
List
<
String
>
reciepts
)
async
{
if
(
await
Permission
.
sms
.
request
().
isGranted
)
{
PermissionStatus
status
=
await
Permission
.
microphone
.
request
();
print
(
'SMS Status :
$status
'
);
if
(
await
status
.
isGranted
)
{
_sendSMS
(
message
,
reciepts
);
}
else
{
// Permission is denied or permanently denied, show an explanation to the user
...
...
@@ -794,7 +796,6 @@ class _customdialog1state extends State<CustomDialog1> {
action:
SnackBarAction
(
label:
'Grant'
,
onPressed:
()
{
// Request permission again
requestSmsPermission
(
message
,
reciepts
);
},
),
...
...
@@ -814,7 +815,7 @@ class _customdialog1state extends State<CustomDialog1> {
return
''
;
});
if
(
kDebugMode
)
{
print
(
result
);
print
(
'SMS Result :
$result
'
);
}
}
}
pubspec.lock
View file @
f4cbf453
...
...
@@ -620,18 +620,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "
3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05
"
sha256: "
7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a
"
url: "https://pub.dev"
source: hosted
version: "10.0.
5
"
version: "10.0.
4
"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "
932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806
"
sha256: "
06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8
"
url: "https://pub.dev"
source: hosted
version: "3.0.
5
"
version: "3.0.
3
"
leak_tracker_testing:
dependency: transitive
description:
...
...
@@ -668,18 +668,18 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256:
f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
sha256:
"0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
version: "0.
11.1
"
version: "0.
8.0
"
meta:
dependency: transitive
description:
name: meta
sha256: "
25dfcaf170a0190f47ca6355bdd4552cb8924b430512ff0cafb8db9bd41fe33b
"
sha256: "
7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136
"
url: "https://pub.dev"
source: hosted
version: "1.1
4
.0"
version: "1.1
2
.0"
mime:
dependency: transitive
description:
...
...
@@ -1113,10 +1113,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "
2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794
"
sha256: "
9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f
"
url: "https://pub.dev"
source: hosted
version: "0.7.
1
"
version: "0.7.
0
"
text_to_speech:
dependency: "direct main"
description:
...
...
@@ -1321,10 +1321,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "
7475cb4dd713d57b6f7464c0e13f06da0d535d8b2067e188962a59bac2cf280b
"
sha256: "
3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec
"
url: "https://pub.dev"
source: hosted
version: "14.2.
2
"
version: "14.2.
1
"
wakelock:
dependency: transitive
description:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment