I'm using Google Fused Location API in my Xamarin app. It all works fine in Debug mode.
However, when I set it in Release Mode, with Linking enabled, it doesn't work on the device. I'm pretty sure that it is because of the linking.
How do I preserve the methods I'm using from the Fused Location API (like "RequestLocationUpdates")?
Thanks.
Xamarin Android preserve method from Linking
184 Views Asked by amitairos At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in XAMARIN
- Xamarin Table View Crash
- How to read a characteristic (e.g. in WICED Smart example "speed_test")
- Using Azure MobileServices library with my own LAN WebApi
- Bundle Multiple Xamarin apps in one pkg installer
- Xamarin Google Cloud Messaging GcmClient.CheckDevice(this) causes runtime error
- UIAlertView popup won't let me swipe up Control Center
- How do I Insert a Previously Created SQLite Database into a Xamarin.Android App?
- Can custom text be added to a listview cell?
- How to run a ASP.net project to Xamarin Studio
- How can i do a fill animation in Xamarin.Forms
- How to change Display Alert default focus on a button?
- Mixing a CocosSharp game with UIViewControllers
- Building C# code in VSCode on Mac
- How to use research Kit framework in Xamarin
- Why is my app requesting permissions I didn't ask for?
Related Questions in XAMARIN.ANDROID
- How do I Insert a Previously Created SQLite Database into a Xamarin.Android App?
- ReplacementSpan in multiautocomplete textview overlap
- xamarin.forms.labs ImageButton issue
- InvalidCastException in release when casting TextFormatted to ISpannable or ISpanned
- Xamarin: How to print from Android device to dot matrix printer?
- How to hide out a layout in Xamarin.forms C#?
- Google Maps leaking JNI global reference
- Error after Enable Multi-Dex in Xamarin Android
- Show Dialog Fragment in Fragment
- Why is my DrawerLayout still open on activity resume, in spite of closing it?
- namespace prefix "myapp" is not defined in Xamarin While Building App?
- Exception when launching activity from PreferenceScreen
- How to set SQLite(SQLite.NET component) database Version in Xamarin Android
- Is iOS, Android binded libraries in Xamarin working in all devices(WinPhone, iOS, Android)?
- How to handle context menu in WebViewRenderer?
Related Questions in ANDROID-FUSEDLOCATION
- How to check processes and services consuming lots of battery
- Best practices: Getting location updates in background
- Fused location API runtime permissions error
- Android - Google Maps V2 not working with Fused Location
- 'LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient)' not returning any location if GPS is off
- How to optimise battery with FUSED LOCATION API - Android
- Xamarin Android preserve method from Linking
- FusedLocationApi.requestLocationUpdates - onLocationChanged is not getting called
- Android app can't access location on emulator using FusedLocationApi
- FusedLocationApi is not working while scheduling it with JobScheduler
- Fused location provider with JobScheduler
- Even PRIORITY_HIGH_ACCURACY gives very low accuracy location updates
- FusedLocationAPI returning null for the first time after adding permission
- Cannot resolve method 'getCurrentLocation' in 'FusedLocationProviderClient'
- getLastLocation() returns a random location in the middle of russia
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Unfortunately, you cannot link a single method from an assembly.
If you didn't do so already, did you consider setting your linking conditions to
Link SDK Assembliesin yourProject Options? This will avoid that the packages you depend on are being optimised to reduce the application size. SDK assemblies on the other hand, such as the ones which comes withXamarin.Android, will be optimised. Read more here.Otherwise, you can use link skipping which essentially allows you to define explicitly which SDKs you do not want to be optimised.