skip to Main Content

space issue in bearer token in react js – Reactjs

I m using Bearer token in my reactjs project and getting token form localstorage but space not coming properly between Bearer and Token Code const TOKEN = localStorage.getItem('TOKEN'); Axios.defaults.headers.common['Authorization'] = `Bearer ${TOKEN}`; Result Authorization: BearerN1ZuxkpgOlOfMGK3hrsl9N4UveoX-67hDH6jRDc5DgEA5yZpDxdyorIMCAeDV5vmHndKsapoYEqiXtoEPzT4vk6FQNOiQQRGdybZ-kfayEF2UaN7IJF0ui1nC8-hfpuzQddzBCg9PoskBzUJCc5ajYzp9VSNmo-nGtigEpyiqw7A5HDxi8GGytvkCGsM0-feW3FEy05VSKzkSu8pxTHR_Ism_uTTIxjrhiOEzMka5-qbhSQyTV1b5B_n_f_gsYX2

VIEW QUESTION

Problem running flutter with mapbox-gl in ios

I am trying to install mapbox in my flutter app: dependencies: mapbox_gl: ^0.16.0 and I have been following the guidelines from https://docs.mapbox.com/ios/maps/guides/install/ and https://pub.dev/packages/mapbox_gl#secret-mapbox-access-token to start using it in iOs xcode simulator. When flutter automatically runs pod install, it comes…

VIEW QUESTION
Back To Top
Search