UIWebView doesn't detect text box on website - ios

I have a UIWebview that loads the e-mail website for my school. When you log in, you can view and read mail with no problem, but if you goto compose an e-mail or reply to one, you are unable to touch inside the message text box to write your e-mail.
I thought it was a problem with the actual e-mail client my school uses, but when I goto the website on Safari I am able to touch in the message box and write an e-mail as usual.
If you have any insight on why this would happening, i'd appreciate it!!
Also, I basically built my own web browser, how would I go about allowing users to save their user/password, for example for the e-mail link (I have other links to school related websites where it would be nice for it to save your user/pass).
Thanks!

MobileSafari (and UIWebView) don't support contenteditable, only normal inputs and textareas

Related

How to send a link in an SMS so that the preview is loaded automatically?

I am using twilio to send SMS messages to phone numbers. What I am having problems with is making sure that once a user gets the message the preview of what is at a certain link actually loads in the message the user sees on the phone.
What is the proper way to send a link that automatically shows the preview?
EDIT:
I tried the open graph api. Apple does have a tech note on that. But, then, why does this link provided a proper preview in messages when I send this link to another phone? It works, and it does not use open graph.
https://i1.wp.com/www.asphaltandrubber.com/wp-content/uploads/2017/11/2018-Ducati-Panigale-V4-29.jpg?ssl=1
a couple of things you can try
have the link at start of the message or end of the message
the link should be properly formatted with either http:// or https://
iOS uses The Open Graph protocol to support what image to show in the link . http://ogp.me/

Need to open web page within telegram bot chat -- big picture

Building my first telegram bot and it's going to be quite complex.
Part of workflow needs to open a webview within telegram that will require user interaction, return to bot chat altering chat with data received from user.
Reading through the entire api, SO, github, I'm having trouble finding anything about the viewing webpages, much less if we can interact. Before I get deep into this project it would be awesome to have some starting direction.
Can you create web views (like you see for "instant view" articles, google maps, etc), and if so can you get data from user to use back at the chat bot?
Another option is possibly using a "game". In our case, it won't be a conventional game, but maybe we could use the html5 game to render what we need, and interact with the user. I know it can pull scores, names, etc to update message, maybe we could somehow make this work?
I'm currently working through the api. This is one of my first apps, and my first telegram bot. I really appreciate any assistance on how to get started here.
This is in Rails, using https://github.com/telegram-bot-rb/telegram_bot_app as a starter. Mostly needing to know if this concept it possible, but anything more specific would be great, too. Thanks!
You can't create web view with the bot API and you don't need to do that. You can simply link to a web page using simple links or inline buttons and the page will open in Telegram's inline browser (Depending on user's settings).
If you include the user ID in the URL you will know who is using the webpage. e.g example.com?uid=1234
Now that you know who is using the webpage, you can use the ID to send messages or anything else in Telegram chat while user is on the webpage.
At the end you can redirect the user back to your bot URL (telegram.me/botusername).
Update
You can now use Seamless Telegram Login to link to a web page and log in the user. This feature can also be used in groups
Try the new Telegram Web App API
It can open a web page on the bottom sheet, which you can expand almost to the full screen.
You can configure the web app open button by following these steps:
Open BotFather
Type /mybots, select your bot
Click Bot Settings > Menu Button
Set up a menu button that opens a certain URL

iPad and email link - how do close the full screen mail app?

I am testing a website on an Ipad. It seems that if someone clicks on an email link, an email program will open in full screen (taking the user away from the browser). What makes it annoying is, there is no "close or X" button for them to leave the mail program. How do my ipad Visitors go back to the browser?
Is there a way (or a HTML code) where if someone click on an email link on an Ipad, it will open up the email program in a small window without taking the visitors away from the brower?
iOS's UI is based on the concept of full-screen apps. To return to the browser, your user must return to the browser app. This can be done using the button, or (if configured) some multi-touch gestures (I use a 4-finger swipe to the side, but I can't remember what the default is).
You should not be trying to change the user interface of a specific device from your website. You might help a few users who have not yet got used to their iOS interface, but you will confuse and/or annoy all the ones who have.
If I wrote to you and asked for help because everyone else in the whole continent was driving on the wrong side of the road, would you try to fix the entire road system? No! I hope you'd just tell me how (or not) to drive. Same deal with the existing UI on any device — let your user learn to use it properly.

Rails - Add a button that goes to a user's default email with an address in place

I'm building an app and wish to allow users to provide continuous feedback while they demo it. I want to add a "feedback" button to the address bar that will take an iPad user directly to their default email with my team's support box already in the address. Maybe even some info about the site they are on in the body of the email. Any tips on where to get started?
Thanks.

ics attachment not present in gmail

I have implemented a calendar in my website (Ruby on Rails) and i have also successfully generated an .ics file. I want to send this file as an attachment in an email.
I have set the mime as text/calendar
I also set the content_type as multipart/alternative
The attachment is sent successfully in the email on all major email clients except gmail
How to make the .ics attachment appear in the email. has anyone faced this kind of a problem before. I checked in various google help forums and many have faced this issue, but no concrete solution has been found.
In Gmail, click the "more" down arrow. One of the options is "Show original". Select that.
When the window opens, scroll down. You should see the VCalendar area. Gmail is ignoring it.
In this area, look for the line that starts as "Organizer;" If you are listed as the organizer, then gmail ignores the ics file. This is a "feature"
We built a web page for ourselves that we copy that text into and it strips that line out and re-emails the ics to us. Then it works fine. (with just a little more work, you could set up an email intercept wherein you forward that email to someplace where you have a parser that grabs the VCalendar, strips out the organizer, and emails it back to you.
We asked Google to put a feature request in to change this, but it's unlikely to happen.
Good Luck.

Resources