Questions tagged [cross-platform]

An attribute conferred to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
43 views

Rust string serialization as bytes cross platform compatibility

In Rust, the strings are stored as vector of UTF8 bytes underneath. When calling into as_bytes method, the byte representation is returned. Is this byte representation cross platform compatible. If I ...
Dennis's user avatar
  • 165
0 votes
0 answers
32 views

Does Android have an equivalent to iOS secondaryAudioShouldBeSilencedHint?

Trying to find a cross platform way to detect if another app is playing media. I don't care what it is, just if it's playing or not. Specifically looking for the equivalent of these two. ...
macintosh-hd's user avatar
0 votes
0 answers
42 views

How to retrieve the user's state home directory on desktop OSs?

I need to create and then write to a log file (using the spdlog library) but it needs to be created in the correct directory on every OS (macOS, Linux, Windows). For instance, on Linux, it's ...
digito_evo's user avatar
  • 3,276
0 votes
1 answer
27 views

EXC_BAD_ACCESS when call method with Custom Type from Unity to iOS

I try to build Unity to iOS. And I have a method call from Unity to iOS, I can see the details when I hover my mouse on the variable, but when I call the variable, It throw EXC_BAD_ACCESS. Why? Any ...
Fan Applelin's user avatar
1 vote
1 answer
3k views

WillPopScope is deprecated in Flutter

'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre WillPopScope( onWillPop: () async { // your logic return ...
ahmed elkhyary's user avatar
0 votes
0 answers
14 views

Error invoking runJavaCode: MissingPluginException(No implementation found for method runJavaCode on channel com.javacode1/myChannel)

This error is occured!! platform_cahnel.dart import 'package:flutter/services.dart'; class PlatformChannel { static const MethodChannel _channel = MethodChannel('com.javacode1/myChannel'); ...
Aditya Waskar's user avatar
0 votes
0 answers
8 views

Newer Native Module methods not getting exposed to JS

I have an Android native module library project which I have included in another app locally (It's not yet uploaded to npm). Now I have added some more methods to that native module. but those ...
Ismail Shaikh's user avatar
0 votes
2 answers
70 views

Are "VS Code" and "Visual Studio Code" different? Is one retiring in August?

I am using Visual Studio Code (on my Mac) to teach a remote college-level class in HTML and CSS. I have been reading that Visual Studio Code is only going to be available for Macs until August of 2023....
rguth's user avatar
  • 9
-1 votes
0 answers
43 views

State setting for ActivityIndicator in React-Native is not working properly on IOS

Here is the model that I used for ActivityIndicator, {/* loading Model */} <Modal visible={isLoading} animationType="fade" transparent={true} style={styles.modal} > <View ...
Abinesh Abi's user avatar
2 votes
2 answers
106 views

Is there a failsafe way to determine the alignment/trailing bits of a pointer in C?

In C, a pointer is aligned to a certain if a certain number of trailing bits are zeros. This requires extracting the bits of a pointer, albeit only bounded number of trailing bits. The obvious way is ...
user16217248's user avatar
  • 3,725
0 votes
1 answer
63 views

Flutter native splash screen image problem

I'm using the flutter native splash screen package for customizing the default splash in my flutter splash screen. I added an image to the splash screen, but the image doesn't fit properly. My current ...
NAMAN GAJERA's user avatar
0 votes
1 answer
50 views

How do I receive response from a callback url on MAUI app?

I am working on dev of a MAUI app. I call one api endpoint (https://myfirstendpoint) which contains a callback url (https://myappname) in querystring parameters. Now ideally when this first endpoint ...
Sushant Rawat's user avatar
-1 votes
0 answers
20 views

Windows App Developed in Flutter Submission Issue

The product crashes at launch and displays the error message 'TCA.exe - Application Error. The application was unable to start correctly (0xc000007b)'. Windows build issue is observed on 21H2 22000....
Anwar Farid's user avatar
1 vote
0 answers
21 views

finding the current OS's local data directory [duplicate]

i am making an app with python (PyQt6) and rust. i want to add saved data that includes important things, so i want to create a directory in the local data of the current OS (user/AppData on windows, $...
user21815993's user avatar
0 votes
0 answers
92 views

is React Native still a good option to consider when building new mobile app in 2024?

I read over several websites that Facebook will no longer support and invest in React Native. So my Question is: If I decided to build a new mobile app in 2024, is React Native still a good option to ...
Arsany Benyamine's user avatar
0 votes
0 answers
13 views

building snaps for different architectures

I'm currently working on creating a snap for Apache IoTDB, that should build for both arm64 and amd64 architectures. Now I know this should be possible, but the problem I'm having is, that if I use &...
Christofer Dutz's user avatar
0 votes
0 answers
33 views

iOS - Packaging Multiple Apps

I am using a chess asset from the Unity Asset Store and I've modified their UCI system that support starting, stopping, and communicating with other processs on Windows, Mac, Linux to also support ...
Codeblockz's user avatar
0 votes
1 answer
33 views

Compose multiplatform on android and browser

Is compose multiplatform actually mautiplatform? Or it just supports different platforms through different codebases? So if I build an android app ui using compose multiplatform, can i run the same ...
Just Praveen's user avatar
0 votes
1 answer
41 views

Concern in Managing Platform-Specific Features

I'm wondering how to address a concern I have. I have a "foo" and multiple conditional platform-specific "foos" (e.g., winFoo, LinuxFoo, or AndroidFoo), where all the platform-...
Jôsùå's user avatar
0 votes
0 answers
25 views

Flutter: Buttons work in iOS Simulator but not macOS Simulator

I am working through some Flutter tutorials, and I am developing this simple "QuizApp." I've pushed the project up to Github here: https://github.com/johnnyicon/adv_basics There are two ...
John's user avatar
  • 9,314
0 votes
1 answer
52 views

gRPC Web compilation with Emscripten

Can I compile gRPC to the Web with Emscripten? NOTE: I'm trying to compile it but it keeps giving errors, please help, NOTE: Without gRPC-Web. Thanks. I am compiling gRPC cross platform and I was able ...
Abdullah Aygün's user avatar
0 votes
0 answers
12 views

Will Expo app exhibit this behaviour in production or is this limited to development?

New to Expo and mobile app development as a whole. I made the following Navigation Bar, and I finally got it to look and behave exactly how I wanted. However, whenever I run my app on the Expo Go ...
Robby's user avatar
  • 11
-2 votes
1 answer
60 views

Rust windows api and cross-platform building?

I have a program which needs access to the Windows API if run on Windows, and Linux's libsecret if on Linux. Currently I'm using the windows crate to implement functionality specific to windows. Is ...
Evan Carroll's user avatar
0 votes
1 answer
51 views

How can I rsa-pss sign a message in Delphi

We're working on a Delphi (10.3) project, trying to sign a message with the RSA-PSS algorithm (https://www.openssl.org/docs/man3.0/man7/RSA-PSS.html) using the OpenSSL libraries for Windows and Linux. ...
Liezzzje's user avatar
  • 430
0 votes
0 answers
23 views

Uploading an Image using formData to the server that is saved on drawable folder android in react native

I am trying to upload an image saved in the drawable folder in Android. But I always get this error [TypeError: Network request failed] Just so you know, this code is working fine on IOS and when the ...
mohammed said's user avatar
0 votes
0 answers
30 views

App Clip uncompressed size is larger than 10MB in Flutter

i am developing application with app clip feature. app clip successfully integrated and working fine but not able to deploy it on app store for production due to 10 MB size limit. I tried to exclude ...
Vishal Zaveri's user avatar
0 votes
0 answers
62 views

How to Add an Icon at the End of Truncated Text in Flutter

I am working on a Flutter app and I'm trying to achieve a specific UI effect. I want to display an icon at the end of a text that is truncated after a maximum of 3 lines. How can I achieve this? ...
Tejaswini Dev's user avatar
0 votes
0 answers
39 views

How can I attribute events through Web SDK to app install in Branch.io?

For context, I have a PWA which is published in Play and App store. The app is running in web so Android/IOS SDK can't be used for events. What I would like to happen: User clicks on an ad and user ...
rthu's user avatar
  • 1
1 vote
0 answers
100 views

Replacement for System.Drawing.Image for Save, Load and convert to base64

Recently I started to get warnings such as: CA1416: This call site is reachable on all platforms. 'Image' is only supported on: 'windows'.. When I looked for more information about it I found that ...
Arnon Axelrod's user avatar
0 votes
0 answers
52 views

Flutter - sharing data-access code between native (mobile + desktop) and web app

I'm approaching Flutter and Dart development as an after job activity, and I'm testing the framework capabilities. I have an Android app that I'd like to port to flutter, and I'd like to support all ...
fabioDA's user avatar
  • 11
0 votes
0 answers
158 views

When I run-ios it run but then stop execution until i cross ❌ the terminal

ismail@Ismails-MacBook-Pro ~ % cd desktop ismail@Ismails-MacBook-Pro desktop % cd FocusFlow RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, you can ignore these ...
Ismail Masood Orakzai's user avatar
2 votes
1 answer
97 views

How to create a cross-platform initializeCommand for Visual Studio Code's Dev Container?

Let's assume that I have: .env file which is .gitignored .env.dev.dist etc. kind of files to copy to .env for each environment and fill in some more secret variables that are blank by default ...
Destroy666's user avatar
  • 1,148
1 vote
0 answers
59 views

Is there a way to have a central place for variables that can be used in Visual Studio projects, Xcode projects, and Makefiles?

I'm working on a fork of a cross-platform C / C++ open-source project that can be compiled for macOS, Windows, and Linux. The project uses a different toolchain for compiling for each platform: Xcode, ...
Bri Bri's user avatar
  • 2,085
3 votes
0 answers
459 views

Is it possible to use Capacitor with the new "/app" structure of NextJS 13?

I am struggling to use Capacitor for my NextJS 13 application which uses new the App router. Is it possible to somehow create an "out" folder and a "index.html" when building the ...
vladye's user avatar
  • 31
0 votes
0 answers
27 views

Porting of Linux library to Android

I have a rather complex project that needs to be ported to android. Parts of it use libraries such as Apache Runtime Library. I tried my luck with the cross-compiler, but the configuration step throws ...
Alex Pander's user avatar
0 votes
1 answer
125 views

DatePicker in MAUI appears full screen and aligned to the left-top corner in Android

Hello. I am developing an MAUI app in which I have to use a customized date picker without borders. However, it appears in the corner of the screen and not in the middle as it should. I am using .Net ...
Mandar Kakade's user avatar
0 votes
0 answers
18 views

how to set cross-platform path in application in spring boot

As in title, I want to devlope my spring-boot project both in linux and windows. I want to set a path in application.properties which I use globally, but it can only work on either linux or windows as ...
Doutzen Chan's user avatar
0 votes
0 answers
54 views

Architecture dependent requirements with `poetry`

I am supporting a system which is main running Python 3.10 on Windows but has limited delivery on Linux. We use poetry to manage the package environment. For NTLM authentication with requests, I ...
gt6989b's user avatar
  • 4,135
1 vote
0 answers
22 views

Why does the appearance of error messages in my Flutter app not look good when I have a 'TextFormField' inside a 'Card' widget?

I have a 'TextFormField' inside a 'Card' widget in my Flutter app. However, when an in-app error occurs (triggered by the user), the appearance of the error message is not as desired. Here's the ...
Rayyaan Malik's user avatar
0 votes
0 answers
13 views

Cross-platform best practice: whether to include data files in your project when they are usually distributed as packages on Linux

I am developing a program that has to perform spellcheck/morphology analysing, necessitating the use of myspell/hunspell dictionaries. These dictionary files are usually distributed as Linux packages,...
enwioa's user avatar
  • 19
0 votes
1 answer
175 views

What is the fastest way to display large datasets as images in .NET MAUI?

I am building a cross-platform application using .NET MAUI that needs to display large sets of data. The data comes in as a 2D float[,] array, each point gets attributed a Color and should then be ...
Patapon's user avatar
  • 11
0 votes
0 answers
20 views

cross-platform keyboard and mouse detection

I am using PyCraft to create a small snake game in Minecraft, and I need to detect key presses or mouse clicks to control the movement of the snake. However, I have encountered a problem and I am ...
avisa-cyber's user avatar
0 votes
1 answer
53 views

How to make system calls cross-platform: maintainable and best practice

I have hundreds of system calls like this: char buffer[MAX_LINE_LENGTH]; // ... sprintf(buffer,"cat cgx_tmp.fbl >> cgx_tmp2.fbl"); system(buffer); sprintf(buffer,"mv -f cgx_tmp2....
Megidd's user avatar
  • 7,225
0 votes
1 answer
81 views

How to include specific header with Cmake Interface Libraries?

Here is the link to the repo with code: https://github.com/BrilStrawhat/cmake-interface_lib_question I found an interface library in the CMake documentation: https://cmake.org/cmake/help/latest/manual/...
Brils's user avatar
  • 1
-3 votes
1 answer
31 views

Kivy and Cython game [closed]

I would know if it actually a great deal to make a game in Python using Kivy (OpenGL) and Cython. So is it or not ? If not what should I use for making a cross-platform (computer/mobile) game using ...
switchcodeur's user avatar
0 votes
1 answer
31 views

Low Code Cross Platform Development Tools

I'm looking for recommendations for low code, cross platform development tools. Previous posts of this question are up to 12 years old, so I'd like something more current. I need to develop a ...
Sherry's user avatar
  • 1
1 vote
1 answer
98 views

Trouble running Reanimated 2 or 3 on both Web/Expo React Native

I’m building a universal app using React Native that runs on Next.js/Expo for web/mobile and currently, version 2.14.4 works on mobile but errors out on web and 3.4.2 works on web but errors out in ...
Muhammad Hamza Latif's user avatar
0 votes
0 answers
99 views

How to Integrate Kotlin Multiplatform Static libraries in xcode ios mobile

listOf( iosX64(), iosArm64(), iosSimulatorArm64() ).forEach { it.binaries.staticLib { baseName = "shared" } } The above code shared Module level build.gradle.kts ...
Raja Yendluri's user avatar
0 votes
1 answer
28 views

flutter html Runtime bug

I have tried to make a connection with Open AI API and called the 2 of them 3 times 1 for 2 and another for 1 time the API doesn't possesses any error or request calls so i don't know why this error ...
HELL unknown's user avatar
0 votes
0 answers
25 views

How to prevent flutter from automatically downloading android emulator when 'flutter run' is executed

I am just beginning to learn cross-platform with flutter, but I chose not to use android studio as it is very hardware demanding and I am using low-end PC. I am using VS Code editor and set up ...
Najeeb Mansur Sayaya's user avatar

1
2 3 4 5
121