Git Product home page Git Product logo

movieapp's Introduction

@junedomingo's Holopin board

Hi there ๐Ÿ‘‹

movieapp's People

Contributors

afulton11 avatar deodeveloper avatar junedomingo 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  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

movieapp's Issues

Android problem

Hello, I'm an android developer, has recently been looking for some more react - native - navigation + react - story related to the demo.When see the demo, in the heart very happy.Download and then, I will run it, and found that there is no question of android compilation, is in after successful compilation, mobile device is blank, what also have no.Under normal circumstances should appear red this time error, prompt without even a node on the server, but this only a white screen.Can you take time to help me analysis?

Unable to build on iOS

I am having the same issue of #7. I have tried multiple times to build for ios but with no luck.

I have tried with both yarn and npm.

From the CLI:

Signing Identity:     "-"

    /usr/bin/codesign --force --sign - --timestamp=none /***/movieapp/ios/build/Build/Products/Debug-iphonesimulator/movieapp.app/PlugIns/movieappTests.xctest



** BUILD SUCCEEDED **



The following commands produced analyzer issues:
        Analyze Views/RCTMapManager.m
        Analyze Modules/RCTRedBox.m
(2 commands with analyzer issues)

Installing build/Build/Products/Debug-iphonesimulator/movieapp.app
Launching org.reactjs.native.example.movieapp
org.reactjs.native.example.movieapp: 15496

Simulator:
screen shot 2017-02-07 at 22 35 25

I have also tried building from xcode but same result
Do you have any idea of what could be the issue? Thanks!

I got issues when tried to build your app.

The issues was in app.js file, this line:
export const TMDB_URL = Config.TMDB_URL;

I can't find the .env file that will be read from react-native-config. It returned an error: "null is not an object (evaluating '_reactnativeConfig2.default.TMDB_URL')

Please help...

Search error

Why happen this error when I write word in search?

image

App not launching on Android or iOS

I have tried to compile and launch the app using the latest source, but I don't get anything in Genymotion.

With the iOS emulator, I get a "basic" (aka the default RN screen white background / just saying MobileApp).

simulator screen shot feb 4 2017 5 55 51 pm

Could this be due to an incompatibility with a new version of RN ?

Android - drawer navigations not really working

this is a really great example project - thank you for this effort.

I wanted to extend the drawer and perform some navigation between a bunch of screens but it seems to not work. I've been struggling with this for hours now.

this.props.navigator.popToRoot is not doing anything. Can you please extend the app and demonstrate how to navigate to a different Screen (not in Modal mode like you did for the search screen)

new Promise.all()

const iconsLoaded = new Promise((resolve, reject) => {
	new Promise.all(
		Object.keys(icons).map(iconName =>
		// IconName--suffix--other-suffix is just the mapping name in iconsMap
		Ionicons.getImageSource(
		iconName.replace(replaceSuffixPattern, ''),
		icons[iconName][0],
		icons[iconName][1]
		))
	).then(sources => {
		Object.keys(icons)
		.forEach((iconName, idx) => (iconsMap[iconName] = sources[idx]));

		// Call resolve (and we are done)
		resolve(true);
	});
});

who can help me understand why following code working:
new Promise.all().then() ... i test this code in jsfiddle tell me an TypeError:
Promise.all is not a constructor

error in packager

Error

React packager ready.

Loading dependency graph...jest-haste-map: @providesModule naming collision:
  Duplicate module name: fb-watchman
  Paths: C:\Users\mirko\Downloads\movieapp\node_modules\react-native\node_modules\jest-haste-map\node_modules\sane\node_modules\fb-watchman\package.json collides with C:\Users\mirko\Downloads\movieapp\node_modules\react-native\node_modules\fb-watchman\package.json

This warning is caused by a @providesModule declaration with the same name across two different files.
Loading dependency graph, done.
Bundling `index.android.js`  100.0% (656/656), done.

Steps:

  • git clone from master
  • yarn install
  • react-native start

Adding Tabs to Android App - Freezes the app in release mode

Thanks for the lovely app.

I have tried to make a small change to your app by adding tabs for Andorid and noticed that while the app works perfectly in DEV mode, the app freezes when built and run on a device in release mode.

I am not sure where the defect is.
i.e. The code that I added or the react-native-navigation library that was used for the tabs etc. So I thought I will start with this project and then make a request to react-native-navigation in case you feel the issue is not related to this project.

Here is what I have done to reproduce the issue:

  1. Clone MovieApp project
  2. Comment out startSingleScreenApp and Add code to start as tabs app: (as Follows)

/*
Navigation.startSingleScreenApp({
screen: {
screen: 'movieapp.Movies',
title: 'Movies',
navigatorStyle
},
drawer: {
left: {
screen: 'movieapp.Drawer'
}
}
});
*/

const createTabs = () => {
let tabs = [
{
label: 'Movies',
screen: 'movieapp.Movies',
icon: require('./img/movies.png'),
title: 'Movies'
},
{
label: 'TV Shows',
screen: 'movieapp.Movies',
icon: require('./img/tvshow.png'),
title: 'TV Shows',

}

];

return tabs;
};
// this will start our app
Navigation.startTabBasedApp({
tabs: createTabs(),
appStyle: {
tabBarBackgroundColor: '#0f2362',
tabBarButtonColor: '#ffffff',
tabBarSelectedButtonColor: '#63d7cc'
}

  1. Build in release mode and deploy to device.

Whats strange is that if you build in dev and run it on the simulator, I dont experience an issue.

note: in case you need to see what I have done, I have forked your project and made the changes here:
https://github.com/dhammikab/movieapp

Unable to build under Windows 10 / MacOS

Hi, I tried to build this project in both platforms but no luck.

npm install returns quite some dependencies error like whatwg-fetch is now required by jest which leads to needing react 15.4.1, etc.

After fixing all those errors, react-native run-android returns error:
:app:generateDebugBuildConfig FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:generateDebugBuildConfig'.

Failed to create C:\rn\movieapp\android\app\build\generated\source\buildConfig\debug\com\movieapp

I am doing this under windows cmd, administrator mode already.

Really want to try this project out. Kindly help if you can spare some. Thank you!

App crashes with callTimers error

When I clone this repo and do yarn install and then react-native run-ios, the app launches with an error: Module JSTimerExecution is not a registered callable module (calling callTimers)

undefined const on constants/api.js

Hy june..

i have tried to run this source for learning, but i got some problem on react-native-config
on constants/api.js all line got error undefined, i see in react-native-config documentation it need .env on root directory, like

API_URL=https://myapi.com
GOOGLE_MAPS_API_KEY=abcdefgh

but i don't see it in your source
Thanks for helping btw..

network errors from TMDB

Getting network errors from TMDB

movies.actions.js:60 Now Playing Error: Network Error
    at createError (createError.js:16)
    at XMLHttpRequest.handleError (xhr.js:87)
    at XMLHttpRequest.dispatchEvent (event-target.js:172)
    at XMLHttpRequest.setReadyState (XMLHttpRequest.js:546)
    at XMLHttpRequest.__didCompleteResponse (XMLHttpRequest.js:381)
    at XMLHttpRequest.js:485
    at RCTDeviceEventEmitter.emit (EventEmitter.js:181)
    at MessageQueue.__callFunction (MessageQueue.js:250)
    at MessageQueue.js:101
    at MessageQueue.__guard (MessageQueue.js:218)

movies.actions.js:40 Popular Error: Network Error
    at createError (createError.js:16)
    at XMLHttpRequest.handleError (xhr.js:87)
    at XMLHttpRequest.dispatchEvent (event-target.js:172)
    at XMLHttpRequest.setReadyState (XMLHttpRequest.js:546)
    at XMLHttpRequest.__didCompleteResponse (XMLHttpRequest.js:381)
    at XMLHttpRequest.js:485
    at RCTDeviceEventEmitter.emit (EventEmitter.js:181)
    at MessageQueue.__callFunction (MessageQueue.js:250)
    at MessageQueue.js:101
    at MessageQueue.__guard (MessageQueue.js:218)


movies.actions.js:60 Now Playing Error: Network Error
    at createError (createError.js:16)
    at XMLHttpRequest.handleError (xhr.js:87)
    at XMLHttpRequest.dispatchEvent (event-target.js:172)
    at XMLHttpRequest.setReadyState (XMLHttpRequest.js:546)
    at XMLHttpRequest.__didCompleteResponse (XMLHttpRequest.js:381)
    at XMLHttpRequest.js:485
    at RCTDeviceEventEmitter.emit (EventEmitter.js:181)
    at MessageQueue.__callFunction (MessageQueue.js:250)
    at MessageQueue.js:101
    at MessageQueue.__guard (MessageQueue.js:218)


movies.actions.js:40 Popular Error: Network Error
    at createError (createError.js:16)
    at XMLHttpRequest.handleError (xhr.js:87)
    at XMLHttpRequest.dispatchEvent (event-target.js:172)
    at XMLHttpRequest.setReadyState (XMLHttpRequest.js:546)
    at XMLHttpRequest.__didCompleteResponse (XMLHttpRequest.js:381)
    at XMLHttpRequest.js:485
    at RCTDeviceEventEmitter.emit (EventEmitter.js:181)
    at MessageQueue.__callFunction (MessageQueue.js:250)
    at MessageQueue.js:101
    at MessageQueue.__guard (MessageQueue.js:218)

Hamburger menu icon

Can you let me know how you are drawing the hamburger menu icon. I have tried and cannot seem to figure it out.

How do you register the application?

Hello,

Thanks for the work and example, kind of trying to replicate this with RNN v2, but I cannot make my repository to work.

I cannot find where you call
AppRegistry.registerComponent("movieapp", () => ...)
or equivalent anywhere.
So my version get the

Application [name] has not been registered. error

Could you please elaborate ? I did a few hypothesis, but none worked.

Thanks!

error on first build: Could not get unknown property 'MYAPP_RELEASE_STORE_FILE

Hi all,

When trying to run this app I get the following error (on windows 7 running android)

Could not get unknown property 'MYAPP_RELEASE_STORE_FILE' for SigningConfig_De
corated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPass
word=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type
com.android.build.gradle.internal.dsl.SigningConfig.

App runs after removing below lines from build.gradle
storeFile file(MYAPP_RELEASE_STORE_FILE) storePassword MYAPP_RELEASE_STORE_PASSWORD keyAlias MYAPP_RELEASE_KEY_ALIAS keyPassword MYAPP_RELEASE_KEY_PASSWORD

However, when running the app I get the following
image

Anyone else running on windows or know how to solve this? Thnx

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.