Open takawww opened 4 weeks ago
I have the same issue. Please let me know if you manage to fix it :)
found it, if you us "@nativescript/ios": "8.7.1-next.2024-04-16-8705084282", it works again
found it, if you us "@nativescript/ios": "8.7.1-next.2024-04-16-8705084282", it works again
That is not working for me though :(
I have update my packages to latest version
"dependencies": { .... "@nativescript/core": "~8.7.1", "@nstudio/nativescript-exoplayer": "^6.2.0",
"devDependencies": { .... "@nativescript/android": "8.7.0", "@nativescript/ios": "^8.7.1-next.2024-04-16-8705084282", "@nativescript/types": "~8.7.0", "@nativescript/webpack": "~5.0.21",
Turns out it only worked on a real device connected to the mac. I had the bug on a real device connected trough xcode before aswell. But a real build still has the issue it seems :(
I did try loading the module the in page loaded event. the error message has been changed to
*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error:
Uncaught ReferenceError: AVPlayerViewController is not defined
at
Video
blablabla
example
import { Video } from '@nstudio/nativescript-exoplayer'
export function loaded(args: EventData) {
const page = <Page>args.object
const vi: Video = new Video();
vi.loop=true;
vi.autoplay=false;
vi.height=280;
vi.src = "~/assets/land_background.mp4";
var vmPrompt: StackLayout = page.getViewById("video-container");
vmPrompt.addChild(vi);
}
Maybe try nativescript/ios 8.7.1 (they released a new version that might fix it)
Maybe try nativescript/ios 8.7.1 (they released a new version that might fix it)
Thanks buddy, its work for me
While I am using the given example
pages/test-page.xml
app-root.xml
after using
ns build ios
to make a build, and run the build in Xcode, error occurredMy target IOS device is Iphone14 Pro, in IOS 17.4.1