weird image data on react native file upload on iOS
const data = new FormData(); data.append('photo', { name: pic.fileName, type: pic.type, uri: Platform.OS === 'android' ? pic.uri : pic.uri.replace('file://', ''), // data: pic.data, }); this is the...
View ArticleCustom font not working in React Native
I want to use a font from google fonts in my app. Here is the font.I have placed the .ttf file in app/fonts. package.json:{ "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start":...
View Articlefirebase cloud messaging testing on iphone 6S (ios, xcode, react native)
I'm trying to test FCM push notifications on an iOS (iPhone 6S). I've got this working a month ago, but now I do not get it to work.I'm using React Native Firebase v.5.x.x. I've followed the initial...
View ArticleInvertase: Firebase Cloud Messaging (FCM) with iOS devices
I'm trying to use push notifications on iOS devices with react-native. I'm using Invertase and I managed to make them work on Android. The only things I'm doing are: ask for the permission with...
View ArticleShared Secret is required for consumable product to validate the receipt?
How can I validate the consumable IAP ? Is it a correct way to validate the consumable product ?this.purchaseUpdateSubscription = purchaseUpdatedListener((purchase: ProductPurchase ) => { const...
View Articlereact-native-cameraroll not working on ios
I have the following react native code which works fine on android but not on ios: const [paging, setPaging] = useState({ page: '', notLastPage: true }) const MediaHandler = () => { if...
View ArticleHow to share from React Native to Instagram?
I'm using React Native to create an iOS app. However i would like to share a uri to an S3 video as follows:import React from 'react' import { Share, Linking ....} from 'react-native' //button and run...
View ArticleIs it possible to handle a file to another App without displaying the Share...
I've never written any code with Objective-C and I'm as lost as you can be.My App is in React Native but I couldn't find a way to achieve this so I had to start to search for a solution using Native...
View ArticlePush Notifications - everything works except IOS when app is open
I have implemented push notifications using a Firebase cloud function for both android and IOS. When the app is closed the message is received in the notification bar. When tapped on the message the...
View ArticleReact-Native Navigation Drawer Inside Tab
I am making a React-Native App and I'm working with React-Native Navigation. I have currently a Stack navigation and a Tab Navigation, and I want to include a Drawer Navigation as well.What I want to...
View ArticleCan we use react native (npm) packages in react native expo project
I have created a react-native application using expo and now am working on it, I want to use some react native (npm: react-native-material-dropdown, react-native-datepicker, etc.,) packages in my expo...
View ArticleModule 'firebase' does not exist in the Haste module map
When trying to run my react-native project I get the following error. I think the error might be in the podfile but I cant seem to locate it. Below I have added the files which I think are important...
View ArticleWhy is the vibration duration in iOS not configurable (React Native)?
I am creating a game in React Native and I've searched all over the internet, Why is the vibration duration in iOS not configurable in React Native? All it says in the React Native docs is that the...
View ArticleGetting the current section that is in the viewport in React-Native sectionlist
I want to detect which section of the react-native sectionlist is in the viewport. Is there any solution?
View Article@objc override func insertReactSubview(_ subview: UIView!, at atIndex: Int)...
@objc override func insertReactSubview(_ subview: UIView!, at atIndex: Int)I use the above method to pass UIView from reactnative to ios. But this method is not calling sometimes. Please help.
View ArticleI get an error with the npm run ios command
When I write this command 'npm run ios' I get this error:'''error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider...
View ArticleXcode Signing Errors
I have a react native project at school under my friend's account. I downloaded it to google drive and opened the Xcode file to run it, (taking care of the signing under my account) but its saying:"no...
View ArticleExact steps needed to migrate a react native android app to iOS
I've written a react-native app and compiled it for android. Now I wish to compile my app for iOS. I've searched the internet and found a lot of documentation about adding react-native components to an...
View ArticleCould not find action, lane or variable 'update_plist'
when running fastlane, fastlane error[!] Could not find action, lane or variable 'update_plist'. Check out the documentation for more details: https://docs.fastlane.tools/actions Did anyone ever...
View Articlecrash (production only) in Swift in my react-native app
My healthkit swift code keeps crashing in the background in production, and I can't figure it out for the life of me. I am fairly new to Swift, so maybe I am making a fundamental error in my...
View Article