-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spam Caller Blocker #429
Comments
I would love to work on it, |
It would be in this app |
Will there be a 3rd party API call for checking that the number is spam, or will we maintain a database on our backend and the app will timely fetch the phone numbers and update in shared preferences? |
We will maintain the db |
Then we can do this In order to begin working on this should i first be looking towards creating a database and api on the backend or i can just start with taking some blocked numbers from user , storing them the same way that i'll store the fetched spam numbers from the database in the future, and work on the app part first. |
Sounds like starting with some blocked numbers is good |
In order stay synced, Does this workflow makes sense and goes with what you had in mind? |
How about 1 and 2 together? The rest look good! |
sure , sounds great. |
Project Overview
The objective of this project is to develop a cross-platform mobile application using Flutter that blocks or identifies spam callers on both iOS and Android devices. The app will utilize platform-specific APIs and extensions to accomplish the spam blocking feature:
1. Project Structure
1.1 Flutter Project Setup
SpamCallerBlocker
lib/
: Contains Flutter Dart code.ios/
: Contains iOS native code and Call Directory Extension.android/
: Contains Android native code for call blocking.assets/
: Contains assets like icons and UI images.test/
: Contains unit and widget tests.2. Flutter Codebase
2.1 Flutter UI
Main Screen:
Flutter Packages:
provider
orriverpod
for state management.http
for API calls if needed (e.g., to retrieve a list of spam numbers from a server).flutter_local_notifications
for local notifications on Android.2.2 Communication with Native Code
3. iOS Implementation
3.1 Call Directory Extension Setup
3.2 Native iOS Code
3.3 App Group (if needed)
4. Android Implementation
4.1 Permissions
READ_CALL_LOG
,ANSWER_PHONE_CALLS
,READ_PHONE_STATE
.4.2 CallScreeningService
4.3 TelephonyManager (for older Android versions)
TelephonyManager
to monitor incoming calls and block them if necessary.5. Testing and Deployment
5.1 Testing
5.2 Deployment
6. Additional Features (Optional)
7. Conclusion
This project document outlines the architecture and development plan for a cross-platform spam caller blocker app using Flutter. By leveraging platform-specific APIs, we can effectively block or identify spam calls on both iOS and Android, ensuring user privacy and security.
Note: This project requires proficiency in both Flutter and native iOS/Android development due to the need for platform channels and native code integration.
The text was updated successfully, but these errors were encountered: