videospike / nativescript-screen-orientation Goto Github PK
View Code? Open in Web Editor NEWscreen orientation plugin for nativescript
License: MIT License
screen orientation plugin for nativescript
License: MIT License
https://github.com/VideoSpike/nativescript-screen-orientation/blob/master/package.json#L3
Currently using "curly" quotation marks.
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')
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
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
I can run perfectly on Android, but on iOS it is not working.
Hi, after update to nativescript 2.3 xcode 8 and ios 10.1, setCurrentOrientation has no effect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.