In my project, I'm using sms_maitained version 0.2.5 and I'm trying to send message of about 230 characters. But I'm getting RESULT_ERROR_GENERIC_FAILURE.
I've already gone through a lot of resources like this and this. I'm pretty sure:
there isn't any network issue
have proper permissions
no dual sim issue
receiver number is correct
Because, I am able to send messages; if the message length is shorter.
I found this java code, which divides and send longer message but I'm not good in java, and my project is in flutter so I'll prefer to do it natively on flutter. Also if I do it manually for android then I've to fix it for iOS separately.
ArrayList<String> texts = smsManager.divideMessage(text);
smsManager.sendMultipartTextMessage(phone, null, texts, null, null)
Please tell me, if there is any solution available!
This solved issue with sending long SMS messages.
In your pubspec.yaml put this:
sms_maintained:
git:
url: https://github.com/andreimc/flutter_sms.git
I found it here: https://github.com/geordyvcErasmus/flutter_sms/pull/15
Related
I am a beginner in flutter and would like your help.
I want to get the Google Services Frameword Identifier (gsfid) in a flutter app, but i can't find any plugin for that. I found a fairly old post on how to do it using java, but I couldn't get it to work, as flutter, if I understood correctly, uses kotlin and unfortunately I'm neither a java nor kotlin expert.
I read all the stuff about deviceID and Android_id, which is confusing enough on its own without starting to mention other "unique" ids (e.g. ad id etc).
I have concluded that what suits me for use in the particular application I have designed is the gsf id.
So if anyone knows the subject and is kind enough to help me, I will be grateful and thank you in advance.
Pataridis
I tried to convert the java code I found se kotlin and connect it (methodChannel) to my flutter application, but without any luck
I'm working on upgrading a VB.NET application from Quickfix.net 1.0.3 to the latest code on github (even newer than the published v1.9.0 because I need a new feature). After making the necessary changes, I'm receiving an Unsupported Message Type error from the cracker when I attempt to send in a FIX42.NewOrderSingle. I've looked through every similar issue on every forum and the issue is usually that it's not handling that particular message type, but I am handling the exact type, so I'm not sure what the problem is. I'm using the out of box specs too.
Public Sub onMessage(ByVal message As FIX42.NewOrderSingle, ByVal session As QuickFix.SessionID)
RaiseEvent Up2OMS_NewOrderSingle(message, session)
End Sub
Any ideas or is there any way I can debug the issue?
Grant Birchmeier on the QuickFix/n mailing list had the solution: post on mailing list I needed to capitalize the initial "o" in OnMessage.
Normally case-sensitivity wouldn't matter in VB, but in this case, there's
some internal C# code reflection that's literally looking for the exact
string "OnMessage".
I want to know if there is a package out there that allows people to receive emails / drafts / deleted items from for example gmail. I found something that seemed to attempt it but I think the support has stopped for it and also my gmail automatically blocks any login attempts from it (which I can evade but if I want to eventually release it then of course this is not the correct option)
The "Potentially non supported" package: imap_client
I was wondering if someone has found a better / new package that doesn't have that issue or if someone knows how to write one.
Thanks in advance
Didn't really understand if you want to send it using SMTP or if you want to open the mail app.
For sending programmatically: https://pub.dev/packages/mailer
To open the gmail app: https://pub.dev/packages/flutter_email_sender
everyone. Today I encounter the following message in my Windows Phone App:
Success
SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone.
This happens when my users Login through the Web Browser Control, which get the Login URL from the GetLoginUrl method from the Facebook SDK for .net. This problem is not only happening in my Apps, I've seen users from other Apps having the same problem.
Anyone found a solution to this?
I'm running this SDK in my PictureWeather (Windows Phone 7 & Windows Phone 8) and Picture2Cams (Windows Phone 8) Apps.
Had the same problem. In my app I changed this line:
parameters["redirect_uri"] = "https://www.facebook.com/connect/login_success.html";
To this line:
parameters["redirect_uri"] = "https://m.facebook.com/connect/login_success.html";
And it works now.
Had the same problem on our WP8 app using the Facebook SDK for Windows Phone (http://facebooksdk.net/docs/phone/) and the indicated solution with changing the redirect URL also worked for us.
Thanks for submitting this solution.
I ran into this problem, myself, and did a bit of digging to get to the root of the issue. The problem seems to spring from some unknown (to me, anyway) change on Facebook's side, where previously the authentication response URL was in the form
https://www.facebook.com/connect/login_success.html#access_token= ...
for some reason it now comes back from the login flow as
https://www.facebook.com/connect/login_success.html#?access_token= ...
The code in FacebookSDK.NET does a comparison in line 104 of LoginPage.xaml.cs with a simple Uri equality test
if (e.Uri == WebAuthenticationBroker.EndUri)
which fails to return true when the question mark appears in the middle. I expect Facebook will correct this on their end just because too much stuff breaks, but in the meantime a pretty clean fix is to get the FacebookClient sources from GIT instead of NuGet and change the comparison to this
UriBuilder clean = new UriBuilder(e.Uri);
clean.Query = "";
if (clean.Uri == WebAuthenticationBroker.EndUri)
The code will then run just fine, but this is seems ultimately to be Facebook's bug when checking the documentation on their developer site.
I hope this helps some others, I signed up for Stackoverflow just to make this post. :)
Use latest facebook sdk for windows phone. This issue got resolved in latest sdk. I am using Facebook.Client 0.8.2-alpha and its working great. I followed http://nuget.org/packages/Facebook.Client and http://facebooksdk.net/docs/phone/controls/login-ui-control
I guess the only way he did this was by downloading both projects from their official Github (Facebook and Facebook.Client) and reference them in your app instead of using the DLL that you can get from Nuget.
With both projects in hand, you can change this parameters on the Facebook.Client Project in the file FacebookSessionClient. Then build all the project and run.
However this solution didnt work for me too.
My hosted app is showing a floating banner with a notice saying “Installation of this item may not work properly.” on its Google Chrome Web Store product page. The app is undiscoverable by searching the Web Store.
What is causing this problem? I find no additional information in the developer dashboard.
If you get this message, it is probable that there really is an error in the manifest or locale files (For example, in my case it was a trailing comma on the locale files).
The process y follow to solve the problem was:
Try to instal the app version you have just submited to the chrome store. When you try to install the app you will probably get a error message thats points you on the track of the problem of your manifest file.
Solved the problem on the app and upload it again. You may get the same error on the developers panel. Two thinghs can be appening:
A) If you've already corrected all errors in the manifest files remenber to publish the changes and what is more important remenber that the publication process may take a few minutes to become effective. The message will disappear after a while if everything is okay. (This explains why is you look on the internet for that problem you find people saying that the message will disappear after a while)
B) If error persist event after the publishing process have been complete finished. You may have not solved all error on the manifest file go back to Step 1
cheers
I had this exact problem. When I tried installing, I got an error message about a missing file.
When I removed my locales directory, everything worked fine.