neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

Capacitor error when loading Canisiusmensa data in iOS app #247

Closed Robert27 closed 1 year ago

Robert27 commented 1 year ago

When attempting to run the app in Capacitor on iOS (export-compliant branch), I encountered a react error. The issue arises when opening the "Essen" tab and attempting to load data from the Canisiusmensa API.

I already tried enabling the NSAllowsArbitraryLoads (HTTP) setting in Xcode, but it did not resolve the problem.

Simulator Screenshot - iPhone 14 Pro Max - 2023-06-02 at 17 04 36 Simulator Screenshot - iPhone 14 Pro Max - 2023-06-02 at 17 20 58

Robert27 commented 1 year ago

Solved. The error was for the endpoint being based on master branch and the new api is not deployed there yet...