Not able to open Attachments in Salesforce Lightning Chatter page iOS webview - react-native

All,
We are building a custom mobile app based on salesforce services in React native, As chatter functionality is huge we are loading the chatter lightning page in a Webview using "react-native-wkwebview-reborn".
Below is the URL used to load the Chatter page.
${APIUrls.SALESFORCE_HOST_URL}/secur/frontdoor.jsp?sid=${decodeURIComponent(this.props.accessToken)}&retURL=${encodeURIComponent(returnURL)}
returnURL = ${SALESFORCE_LIGHTNING_HOST}/lightning/page/chatter
We are able to display the chatter page and it is working well, But when we click on any of the attachment, The attachment is not opening and the page is not scrolling as correctly.
The same functionality working perfectly in Andriod.
Any one suggest the reason for this.

Related

React native web scraping submit form

I`m trying to set up a little React Native App. The app should have a login screen, after a successful login you go to the next screen where a pdf gets displayed.
The pdf is from a website. So I have to log in on the website (with the data from the login screen) and fill in that form, submit it and finally, I can reach that pdf I want.
Is there a way, like a library or a framework/tool or whatever to achieve that form submit?

Populate the device data contents from thingsboad on mobile?

I have this device data that are shown in real time using ThingsBoard.
And I have an iframe to show the device data content on a web page.
If I used the same iframe on my ionic app's HTML page, I am getting all the header, submenu and other unnecessary things that are not needed in the app.
What I need is the main content area of the device data section.
Can I do that with the iframe or do I need to call all the individual ThingsBoard API's to populate the dashboard on my own?
If you are managing the Thingsboard then you can develop custom iframes with unnecessary headers/footers removed. Then you will get clean iframes to display inside your Ionic app.
In case the Thingsboard is not managed by you then you have to develop adapters to scrape the html data from the Webpage. These adapters will provide your Ionic app only the data you require.
You can use PHP Simple HTML DOM Parser for implementing these data scraping adapters.
PHP Simple HTML DOM Parser

Bigcommerce app submission - user flow requirements

I'm hoping that a Bigcommerce rep can answer this. I had some trouble accessing my Bigcommerce store to get my support PIN so I'm posting here.
I am developing a Bigcommerce app and am wondering if the Bigcommerce user must automatically be logged into my app when they open it in the iframe, or can the app display a login page inside the iframe when it opens?
I've seen some apps first display a signup page for the user to fill out, and I was planning to also first display a signup page for the user to create an account inside the app, then ask them to log into the app on the next session. Is this allowed, or do I need to implement OAuth in a way that allows the Bigcommerce user to log into my app based on their store during the app load?
Thanks

How can I connect a Facebook app with an existing Facebook page?

I have a Facebook fan page (created late 2011) for one of my apps. I'm in the process of adding Facebook SDK support to the app to allow users to post photos to their news feeds.
What I want to do is connect the FACEBOOK APP with the existing FACEBOOK PAGE.
I'd assume you could go into the Facebook Page settings and LINK THE APPID TO THE PAGE. But I can't seem to find anything. I had a look in the app settings too, and that has Canvas pages, Page Tabs, but nothing quite looks right.
All I want to actually do is let my users post photos to their newsfeeds from my app. And those photos then link to the Enscripted fan page. So if I'm missing something, let me know.
To add an app to a Facebook Page, you need to add a Page Tab to your page. This document will help you with that: https://developers.facebook.com/docs/appsonfacebook/pagetabs/

Use the new Facebook Photo Viewer (gallery) from iframe app

I have an (iframe) app hosted on a tag on a Facebook Page. The app pulls (based on various conditions) photos from the albums of the page and displays them to the user. Is it possible to create "ajaxify" links on the photos so that when the user clicks on the photo, the photo will open in the new Facebook Photo Viewer (lightbox overlay) without navigating to the actually photo's URL?
Facebook's lightbox isn't part of the facebook api. You will have to implement your own lightbox, or download one from somewhere, to get this effect.