Issue After googling everywhere with no goal, I wanna ask something to you, Android devs: Is there a way of upgrading (compiling the APIs or else) the API level of an older Android version (like Donut), to a more “usable”
Continue readingTag: api
Dart Flutter Generic Api Response Class Dynamic Class Data Type
Issue My app currently is working with a custom classes for each api responses as models. But I’m trying to change it, to optimize some little things, so I’m trying to implement a Class wrapper, called ApiResponse for example. But
Continue readingTrue Caller Search API for Android
Issue Is there is True Caller API for Android App exist, where I Can search Name against Mobile number? Solution Yes, You can use the Truecaller SDK. Here is small snippet which you can use to get the profile Details
Continue readingWhy is my PUT request not working in Flutter?
Issue doesn’t work of PUT requests in Flutter so I know it isn’t a problem serverside, i checked with Postman and server side is working very well. My raw data : my send method to the server : Future<void> addProductType(
Continue readingFlutter DioError [DioErrorType.RESPONSE]: Http status error [403]
Issue I get this massage: [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: DioError [DioErrorType.response]: Http status error [403] Here is loginCall method: Future<LoginModel?> loginCall( String email, String password, ) async { Map<String, dynamic> json = {"email": email, "hashPass": password}; var response = await dio.post(baseUrl
Continue readingWhat is the diffrent between using {%2B) instead of (+) before a number?
Issue i was working on an api base on a tutorial which it was getting token from user to recognize that user is admin or not. so it’s just a question about is this really matter to use +1xxx-xxxx-xxx Or
Continue readingFlutter Retrofit issue with two different json response in one API
Issue I have been using Retrofit for Api calling. In one of the api sending two different response and trying to get them in Map<String, dynamic> But in generated file it is showing error. When i take response type as
Continue readingHTTP GET Works in postman but failed in Flutter even with generated dart code from postman
Issue i try to call api using generated dart code from postman. the link i put on flutter and postman is same link but only postman work. import ‘package:flutter/material.dart’; import ‘dart:async’ show Future; import ‘dart:convert’; import ‘package:http/http.dart’ as http; class
Continue reading"The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr<List<Article>>', is a potentially non-nullable type."
Issue I was trying to make a News App with newsapi.org, but got this error: The body might complete normally, causing ‘null’ to be returned, but the return type, ‘FutureOr<List<Article>>’, is a potentially non-nullable type. Try adding either a return
Continue readingGeolocator package not working in Flutter
Issue has any one of you worked with the geolocator package? if yes then can you please help. I have done all the steps mentioned in the docs of the geolocator package excluding the androidx conversion I think the error
Continue reading