How to replace default share options popup with a custom action sheet? - react-native

I am using the share api that react native offers by default.
I want to use a custom action sheet with sharing options instead of the default share popup that comes with react native share api.
replace this default screen
with something like this instead

Please check whether the below links satisfy your requirement. I think with Share API we can't control the apps shown in share popup dialog.
https://github.com/meedan/react-native-share-menu
https://www.npmjs.com/package/react-native-share

Related

how to create react native link like WhatsApp group chat link

I want the link to navigate to a certain page and execute a function using the data in the link.
There's platform called branch that's makes the process of creating a link to a certain page very easy, for react-native, you can use its lib react-native-branch.
I've used it already and it's very good.The branch.io provides some analytics metadata about how many times a user clicked on the link you've created for example.

How to set dynamic options from API response in fluent ui react Dropdown control?

I have encountered a situation where I need to display a Dropdown and want the options to dynamically fetch from an API and load on clicking the caret (maybe show a loader by the time the API response comes through). The experience I am looking for is something in the following lines -
Loading (fetching options from API)
Display options after successful response
The documentation didn't give any API surface through which this can be possible.
Is it possible to achieve this with the current APIs that are in place for this control component?
Good point to start is to use BasePicker Component from Pickers.
import { BasePicker } from 'office-ui-fabric-react/lib/Pickers'
Inside BasePicker you have a methods which you can use to make a "lazy" behavior. For example, when you click on component then make a call to API and populate items list.
What is inside BasePicker take a look here or from official documentation.
Codepen example

Creating a landing page with an extension using shoutem builder

It seems likes I am limited by the shoutem builder to having a default Main Navigation, whereby all of the other screens are wrapped by it. Is it possible for me to create a landing page where my users can sign in, and then segue to the Main Navigation? How would I achieve this?
The shoutem.auth (Users) extension does something you're asking for. It displays a screen before any shortcuts (i.e. navigation items) are displayed. It achieves this through the use of a middleware which is implemented throughout the entire Shoutem app, visible in the #shoutem/core package.
You could use a similar pattern to achieve your landing/onboarding page extension.

how to display share button in bigcommerce quickview popup

how can I show share button in bigcommerce quickview popup.I have used %%GLOBAL_QuickViewShareLinks%% variable.but no use.
Any help is appreciated.
Depending on the theme, the share options should be there anyway. You shouldn't need to customize them. Make sure you aren't running something like uBlock as that can prevent them from showing.
Alternatively, you can use AddThis to implement them yourself.

Shopify api: add a link

I am developing a shopify app.
Is it possible to add a new link to the main menu via the shopify API?
Thanks
If you log in to your partner account and then create an App you can edit the created App and you will see all the resources at your disposal where you can add a new link.
If you notice also, using the API you can pull and rewrite any asset in a shop to contain a new link. This is discouraged as bad practice. Instead, inject a script tag that does the dirty work.
Soon as I know the API itself cannot change something inside the theme files... some APPs ask you to apply some code manually in the theme, with proper instructions... maybe this code could add the new menu or dynamically interact to get it.