Giter VIP home page Giter VIP logo

nativescript-screen-orientation's People

Contributors

basumeet avatar bathejasumeet avatar

Stargazers

 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

nativescript-screen-orientation's Issues

screen-orientation.js:28:83: JS ERROR TypeError: undefined is not an object (evaluating 'frameModule.topmost().ios')

Throws an error on use in ios

JavaScript stack trace:
1   setShouldAutoRotate@file:///app/tns_modules/nativescript-screen-orientation/screen-orientation.js:28:83
2   setCurrentOrientation@file:///app/tns_modules/nativescript-screen-orientation/screen-orientation.js:48:28


JavaScript error:
file:///app/tns_modules/nativescript-screen-orientation/screen-orientation.js:28:83: JS ERROR TypeError: undefined is not an object (evaluating 'frameModule.topmost().ios')

Error after installed web pack

I've installed web pack on my project and then i'm getting the following error.


ERROR in ./modules/signature/signature.component.ts
Module not found: Error: Can't resolve 'nativescript-screen-orientation' in 'C:\dev\fm-transportes\src\FM.Transportes\app\modules\signature'
 @ ./modules/signature/signature.component.ts 13:24-66
 @ ./modules/client.module.ngfactory.ts
 @ ..
 @ ./custom.module.loader.ts
 @ ./app.module.ts
 @ ./main.ts

Is the plugin compatible ?
I also opened an issue on the web pack page
#NativeScript/nativescript-dev-webpack#81

Not working on iOS

Hi ,

The plugin works perfect for Android, but I cannot make it work for neither iOS 8+ and iOS9+ ..I think it is something with the missing callback for setCurrentOrientation

Not work with ios 10.1

Hi, after update to nativescript 2.3 xcode 8 and ios 10.1, setCurrentOrientation has no effect.

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.