PDF annotation in React-native mobile app - react-native

I want to create a PDF annotation app with react-native, without using third-party libraries. If you guys have any idea how can I build that, please give your suggestion.
Basically, I want to add text selection and highlight in any available PDF without using a third-party library. If you have any idea then, please tell me. If it is not possible in react-native then kindly suggest me native solution.

Related

How to build a custom share sheet in react native

I am trying build a custom sharesheet in react-native like how spotify or locket does it (I assume this is a custom sharesheet). I was wondering how you can build a custom one where I only show iMessage and instagram and change the styles. I noticed the react-native-share-sheet and the Share from react native doesn't let you customize it so I was wondering if this is possible to build in react-native?
Also building the "share sheet" from scratch would not work since there is no way to pop up the iMessage. (Linking("sms://) opens a new app)
Exmaple for spotify:
Example for locket:
Any help would be appreciated.
Thanks!

Is there a way to turn an app into a website in React Native?

I built an application in React, is there a way that the same code will be used for a website?
I know Instagram is built on React and it also has a website, I wonder maybe you should add some link or something that it will open for me as a website?
Or maybe there is no such way and I have to build a website separately?
First off all, If you have written any code which is related to native functionality, then it can be challenging.
If you have only worked with views, images, and some of the basic functionality.
It can be done with react-native-web you can easily migrate your project to react-native-web.
If you project is created with expo they already provide react-native-web support.
Option 2: If you have some of the code you want to share and some is that you don't want to share or can't share.
You can use renderProp or customHooks pattern to reuse your logical code and seperate your view for react-native and react js apps.
If you want to reuse your views too, you can do those with primitives.
you can use styled-component primitives for that.
https://medium.com/react-native-training/sharing-code-between-react-web-and-react-native-applications-7f451af26378
You can get some idea here as well.

How to add filters to a video in react-native? both on Android and iOS

I have added filters to recorded videos using react-native-camera while recording.
But now I have to add filters after recording.
If anyone has the solution pls let me know.
There is a separate solution for Android, but can't find a solution that works cross-platform using react-native. Maybe we need to use third party APIs or something like that.

How to show images and text using react-native-material-dropdown?

I'm developing social app using react-native.
There, I have one problm during developing.
I used react-native-material-dropdown module for making dropdown.
I want to show images and text on each element on dropdown.
But react-native-material-dropdown module doesn't support this feature.
How can I solve this problem?
Please help me.
Try using the renderBase prop, see this and this issues that could help you :)

How do you enable Core Spotlight to index app content in React Native

What's the easiest way to go about indexing a React Native app so that content within the app appears in Spotlight searches?
If you're still interested in indexing your app content using React Native, I've written a plugin to do just that.
As you've figured out, there's no built-in react-native support for this. The only option for you to utilize the Core Spotlight framework capabilities is to create your own native module which will expose this functionality to your react-native code. You can also try to find someone who already wrote this module and made it open source, but I guess you've already tried that.
Since this is the only way, it is also the easiest... That said, it should be pretty easy to implement it yourself, assuming you have some experience with iOS development. If you run into problems you can post your code and I can point you in the right direction if necessary.