Skip to content
Discussion options

You must be logged in to vote

cx_Oracle can't be supported in a Flet mobile app, but the good news is there's a fully working replacement that already is.

Why cx_Oracle won't work on mobile: cx_Oracle only runs in "thick" mode — it bundles ODPI-C, which dlopens the proprietary Oracle Instant Client (libclntsh) at runtime to talk to the database. Oracle does not ship Instant Client for iOS or Android, so there is no client library for the package to load on a phone. Even if the wheel built, it could never open a connection on-device. It's also deprecated upstream — Oracle renamed/replaced it with python-oracledb. Use it instead (Flet now supports it on both Android and iOS) and its default thin mode is pure-Python (Ora…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants