how to make ArcGis(4.18) map offline and to consume it in angular application - arcgis

how to make ArcGis(4.18) map offline and to consume it in angular application
tried deploying arc-gis JavaScript API and SDK
and replaced url"https://js.arcgis.com/" with "http://127.0.0.1/arcgis_js_api/library/"
still not working

The download api comes with a test page, did you try it and work fine?

Related

APIs from Next.js App work locally but produce errors when deployed to Netlify

The image attached shows the error I get when deploying my NextJS App APIs to Netlify. Locally, they all work well
On Netlify, I forgot to add the API key to my environment variable. Immediately after adding it, everything worked smoothly

What is the best way to handle the use of staging or production API root url in a React Native app?

Say I have a staging API url and a production API url. What is the best way to setup the app to use the production API url when I want to release a build to the stores and the staging API url when I am running in debug mode and just uploading to TestFlight/Internal Beta?
I was looking at react-native-config but it seems quite daunting to configure. Would using the DEV variable be possible/practical?
Thanks in advance.

Is it possible to use react-native-web to create PWA?

We are creating a web site which we want to use RN-web. (it's back port from RN app)
We'd like keep the possibility of converting to PWA later, wonder if it's possible to convert RN-web to PWA?
If you created your application with the expo-cli, now it's super easy to do it.
Expo web projects generate PWA assets and manifest by default, you only need to enable offline web support to get a full PWA.
You can follow the documentation https://docs.expo.io/guides/progressive-web-apps/
And enable service workers on your react native app https://github.com/expo/fyi/blob/master/enabling-web-service-workers.md

Generate google-services.json for firebase via API

Since we've upgraded from GCM to FCM we have a problem because the app suddenly needs a custom google-services.json and I don't seem to find a API or cli tool which enables me to add new apps and generate a new file.
Has someone found a way to automate this?
There is currently no API to generate a google-services.json. You can download it from your Firebase Console by selecting your project and then clicking to manage your Android app.

Phonegap/Cordova App to connect a api

I have a simple REST API made in Rails with output data in json format.
I want create a phonegap app to connect and consume the API resources. someone know a tutorial to do this.
I am only a junior backend dev and no know about mobile apps.
Thanks in advance
forget, i found this Cordova Tutorial that use jQuery Ajax