I am trying to add ShareKit 2.0 in my app (with ARC), Xcode 3.2 and device 4.x or 5.0,
I have followed ALL configuration steps from https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit
In the app when I click on "Facebook" button to share, I get loggin OK, but once I do loggin the view disappear and it does not nothing more.
It doesn't display link in dialog window.
Any idea?
Related
I am using an online builder for my app(ApperyDotIo, JQM framework). My application works fine with one exception. I have an in-app link to my website. The link in the iOS app, the link takes me to the page but since the iPhone doesn't have a "back" button I can't go back to the app. Looks like you have to close the app and then reopen it to get back into the app.
I tried to set the link to not open in the same window and vice versa.
Any easy work around?
Links and back buttons in Android apps work fine.
Thank you
You can consider using the inAppBrowser: https://docs.appery.io/docs/cordova-jquerymobile-inappbrowser
It will allow you to open the website in the child window of the application (with the "close" button) or in the native browser, without opening the website as application page.
The mailto link was working as expected on previous versions of iOS. After updating to 12.2+ when opening default mail app using the mailto link the mail app works. But when coming back to the PWA, the application stuck on a blank white screen due to the iOS feature update to PWA (saving app state when switching apps)
Now i'm stuck with a blank screen even after swipe close the app.
I'm using the following code to lunch the mail app
send mail
I have tried all other options of targets, only the _blank target opens the default mail app. Other targets are not working as mentioned in this stack overflow answer.
Here is the screenshot of how the blank screen looks after coming back from mail app
have anyone faced similar issue?
I've tried the following solution in my own PWA and it works great (iOS 12.3.1, iPhone 7+)!
On your PWA page, you create the link as following:
<a onclick="sendFeedback()">Send Mail</a>
And you define this function:
function sendFeedback(e)
{
window.location.href = "mailto:example#example.com";
}
Once clicked, it launches the default mail app. When you go back to your PWA, you will land on the page where the link is located. There won't be a blank screen.
I have universal links set up for a native app. E.g. when I tap a link to my website (say https://my.website.com) from an email app, the native app opens automatically. But when I browse some website, which redirects me to https://my.website.com in safari, all I get is a bar at the top, suggesting me to open in the native app. Moreover that bar is only visible if I drag down a bit, so it's not visible immediately. How can it be fixed? how can I make the app auto-open in such case?
Problem Statement:
I have an a native app which has a G+ single sign-on.
When I click that button, it displays an alert - "application wants to use google.com to sign-in" along with 2 buttons "Continue" and "Cancel"
When I press "Continue" on the alert, it opens a browser inside the app where the account selection page opens. It shows accounts.google.com as the page URL.
Assuming that I've already signed in to Google once before, I want to select / click a particular account from the list of google accounts being displayed there.
After I click the account, the user is navigated to a native screen called "Dashboard".
To automate this, in Appium + Java, I click on the G+ button and then switch the context to webview and then select the account using xpath and then switch back to native view as login is done now and application is back to the native screen.
driver.findElement(By.xpath("XPATH of Native Screen - Google SignIn Button")).click;
driver.switchTo().alert().accept();//Clicks "Continue" Button.
driver.context("WEBVIEW"); //Switch to WebView
driver.findElement(By.xpath("XPATH of intended Account Name HTML control")).click();
driver.context("NATIVEVIEW");
...Then, I perform the other operations that I want to perform on the native app screen.
I want to do the same in XCode + Swift but I'm not finding any way to do it.
Here's what I do
//some code to click on the button
app.buttons["Google Sign In"].tap()
app.alerts["“AppName” Wants to Use “google.com” to Sign In"].buttons["Continue"].tap()
...Now I don't know how to switch to WebView of the App and click on the HTML control that contains the account name and then switch back to native view.
Please help.
Try using this when you click on sign in with google:
GIDSignIn.sharedInstance().signOut()
I have written an app that uses Facebook login via the FBSDKLoginButton. The login window shows up and the user can login using their Facebook email and passowrd... that all works great!
I am trying to figure out how to make the login window show our company logo but I cannot find this anywhere in the documentation.
Can someone point me in the right direction? I have seen many other iOS Apps that use FB Login and have their logo displayed so I know it can be done.
Here is a screenshot:
You should change the app icon of your Facebook app in order to do that.
Navigate to developers.facebook.com.
Click on My Apps on the top right corner.
Select your app.
Select Settings/Basic from the menu on the left.
Hover over the section called App Icon (which is on the bottom left of the first editable section) and click on the Edit button.