GithubHelp home page GithubHelp logo

wrathchaos / react-native-header-view Goto Github PK

View Code? Open in Web Editor NEW
643.0 11.0 32.0 19 MB

Fully customizable Header View with multiple design options for React Native.

Home Page: https://www.freakycoder.com

License: MIT License

JavaScript 13.26% Ruby 5.02% TypeScript 7.68% Starlark 3.97% Java 40.92% Objective-C 29.16%
header react reactjs react-native apple-header apple ios mobile mobile-app-development android google javascript

react-native-header-view's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ericwiener avatar wrathchaos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-header-view's Issues

Unable to resolve module `@freakycoder/react-native-helpers` from `node_modules/@freakycoder/react-native-header-view/lib/src/components/ClassicHeader/ClassicHeader.style.js`

Hi, I'm new in React Native, tried to get run your awesome component but got this error :(

Unable to resolve module @freakycoder/react-native-helpers from node_modules/@freakycoder/react-native-header-view/lib/src/components/ClassicHeader/ClassicHeader.style.js: @freakycoder/react-native-helpers could not be found within the project.

If you are sure the module exists, try these steps:

  1. Clear watchman watches: watchman watch-del-all
  2. Delete node_modules: rm -rf node_modules and run yarn install
  3. Reset Metro's cache: yarn start --reset-cache
  4. Remove the cache: rm -rf /tmp/metro-*

RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start

Tried followed all suggested steps but it doesn't help. All dependencies were installed.

package.json

{
"name": "NavApp",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"@freakycoder/react-native-header-view": "^0.5.0",
"@react-native-community/masked-view": "^0.1.7",
"@react-navigation/bottom-tabs": "^5.2.5",
"@react-navigation/native": "^5.1.4",
"@react-navigation/stack": "^5.2.9",
"react": "16.11.0",
"react-native": "0.62.1",
"react-native-dynamic-vector-icons": "^0.1.1",
"react-native-gesture-handler": "^1.6.1",
"react-native-reanimated": "^1.7.1",
"react-native-safe-area-context": "^0.7.3",
"react-native-screens": "^2.4.0",
"react-native-vector-icons": "^6.6.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^24.9.0",
"eslint": "^6.5.1",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.58.0",
"react-test-renderer": "16.11.0"
},
"jest": {
"preset": "react-native"
}
}

system info

info Fetching system and libraries information...
System:
OS: macOS 10.15.2
CPU:
Memory:
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
Languages:
Java: Not Found
Python: 2.7.16 - /usr/local/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.1 => 0.62.1
npmGlobalPackages:
react-native: Not Found

Code taken from example https://github.com/WrathChaos/react-native-header-view/blob/master/example/App.js

Any ideas what could be?

Device Notch Support

It is an amazing header but I think that you should be adding support to the device notch, please!

Usage with status bar

Hello,

I am having this issue (both normal iphone and iphone x family)

image

I am having this at all 3 headers and just found the solution by myself adding this prop:

containerStyle={{marginTop: getStatusBarHeight()}}

But as per introduction Everything seems nice and happening automatically, what did i miss ?

Request to Add product in Start React

Hello,

I am Maheshwari from team GeekyAnts.

On behalf of Start React, we add open source products which we find helpful to the community & also we provide credits to author itself.

Let me know if you are interested showcase your product in our open source website.

If yes, then I request you to add MIT Licence in your repo.

Looking forward to hear from you.

Unable to resolve main package

After installing the main package + peer dependencies, I continue to encounter this issue (reinstalled packages multiple times).

While trying to resolve module `@freakycoder/react-native-header-view` from file `C:\Users\josep\Documents\GitHub\safepass\src\features\kiosk\screens\StudentAttendanceKioskScreen.tsx`, the package `C:\Users\josep\Documents\GitHub\safepass\node_modules\@freakycoder\react-native-header-view\package.json` was successfully found. However, this package 
itself specifies a `main` module field that could not be resolved (`C:\Users\josep\Documents\GitHub\safepass\node_modules\@freakycoder\react-native-header-view\lib\src\index.js`. Indeed, none of these files exist:

  * C:\Users\josep\Documents\GitHub\safepass\node_modules\@freakycoder\react-native-header-view\lib\src\index.js(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.wasm|.native.wasm|.wasm)
  * C:\Users\josep\Documents\GitHub\safepass\node_modules\@freakycoder\react-native-header-view\lib\src\index.js\index(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.wasm|.native.wasm|.wasm)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.