Commit Graph

50 Commits

Author SHA1 Message Date
Tim Sylvester
82ec59a2b0 Metal setup merge (#1616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Alex Cristici <alex@skoon.energy>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Wei Chen <alanchenboy@gmail.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
Co-authored-by: tdcosta100 <tdcosta100@gmail.com>
2023-09-13 18:35:20 +00:00
Bart Louwers
a61571c8d2 Remove vestiges split renderer (#1601) 2023-09-05 08:34:50 +00:00
mwilsnd
c5915954e0 Drawable PR2 - Renderer Integration (#1459) 2023-08-31 15:36:19 +02:00
mwilsnd
dd8ebe4f9a Drawable Renderer (#1570), Fix wrong android imports 2023-08-31 15:36:19 +02:00
mwilsnd
1963697687 Selectable renderer implementation (#1247)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
fynngodau
84b58d499b Ensure offline manager @Before is completed before tests are run (#1251) 2023-06-16 15:01:48 +02:00
fynngodau
5bfe4de97d Fix Android instrumentation tests (#1250) 2023-06-16 13:41:56 +02:00
Bart Louwers
4a24e468ed Fix Android code generation templates & regenerate generated sources (#1239) 2023-06-14 12:34:39 +02:00
Birk Skyum
269ae39a36 Kotlin migration Featureadapter, ItemClickSupport (#1236) 2023-06-14 00:45:51 +02:00
Hsieh Chin Fan
ca17d6bfe6 Add doc for annotation (#1135)
Co-authored-by: Hsieh Chin Fan <pham@topo.tw>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-06-13 11:42:52 +02:00
Hsieh Chin Fan
dd5402fa57 Add doc page for example of LocationComponent (#1169)
Co-authored-by: Hsieh Chin Fan <pham@topo.tw>
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-06-12 14:21:05 +02:00
fynngodau
c75e3596da Change Android package and class names away from mapbox (#1201)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-06-12 14:04:25 +02:00
Alex Cristici
d72cd766c8 Files prefix changed from MGL to MLN (#919) 2023-03-21 13:18:26 +01:00
Artak Kalantarian
5be1eeeedd [android] Fixed an issue with native code throwing an exception expecting bound… (#830)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-02-22 09:52:40 +01:00
Bart Louwers
a8803b23b7 [android] fix crash QueryRenderedFeaturesBoxCountActivity (#823) 2023-02-18 19:57:45 +01:00
Bart Louwers
982ac6e7e3 [android] Remove com.google.android.gms.location (#379) (#801) 2023-02-15 11:22:44 +01:00
Bart Louwers
ac2e9b10ab Kotlin testapp fixes (#753) 2023-01-31 17:29:25 +01:00
fynngodau
6d07ff85b4 [android] Improve Kotlinification of LatLng (#742) 2023-01-27 20:06:29 +01:00
Artak Kalantarian
f561031010 More namespaces updated to Kotlin (#692) 2023-01-14 15:35:51 +01:00
Birk Skyum
a6f632b4ad Port FeatureOverview to Kotlin and remove empty activity tests (#686) 2023-01-11 17:05:16 +01:00
Bart Louwers
01729b9a49 [android] Fix Ktlint Gradle intergration, add documentation about linting (#685) 2023-01-11 16:09:58 +01:00
Birk Skyum
c7870a9b0a Port testapp activity unit tests to kotlin (#684) 2023-01-11 15:45:36 +01:00
Bart Louwers
aed7c501f2 [android] Remove deprecated junit.framework.Assert (#683) 2023-01-11 14:27:35 +01:00
Birk Skyum
5ef6c30a37 Port FeatureAdapter in Android TestApp to Kotlin (#680) 2023-01-11 01:54:18 +01:00
Artak Kalantarian
4f15cf96e6 Convert more of the Android SKD files from Java to Kotlin (#670) 2023-01-10 14:41:33 +01:00
Birk Skyum
9d99adc431 Port most Android TestApp utils to kotlin (#668) 2023-01-09 08:51:27 +01:00
Birk Skyum
3b4bf343f5 Migrate remaining Feature Activities in Android TestApp to Kotlin (#666) 2023-01-08 20:00:59 +01:00
Birk Skyum
0f5ea3f2ba Use Kotlins Null safety to cleanup code (#667) 2023-01-08 19:39:23 +01:00
Artak Kalantarian
558c1c0ccd Fixed a crash when native code was accessing the LatLngBounds class (#655) 2023-01-04 23:56:20 +01:00
Bart Louwers
f2c1b4ab4b Remove deprecated 'kotlin-android-extensions' Gradle plugin (#654) 2023-01-04 20:21:20 +01:00
Bart Louwers
d51759b137 Replace mapbox watermark on the maps with maplibre #643 and replace mapbox resource names (#647)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2023-01-04 11:32:11 +01:00
Artak Kalantarian
4175a53af6 More of the SDK files converted to Kotlin (#646) 2023-01-03 20:26:07 +01:00
Artak Kalantarian
ccd3c60e55 Converted a few of SDK files (one package) to Kotlin (#637)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-12-24 11:07:20 -08:00
Birk Skyum
cf35b29b54 Migrate Android test app models to kotlin (#613) 2022-12-24 15:21:10 +01:00
Artak Kalantarian
eff76f8d71 Bump minSDK to 21 and remove mistakenly submitted files adding them t… (#630)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-22 15:29:00 -08:00
Artak Kalantarian
b038aeddb0 Updated Android SDK, all dependencies, and did the gradle migarion, fixed unit tests and ktlint (#627)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-21 15:11:43 +01:00
Oliver Wipfli
c6dd558665 Revert "Revert "Gradle update"" (#619) 2022-12-21 00:10:04 +01:00
Oliver Wipfli
330eb8173d Revert "Gradle update" (#614) 2022-12-18 20:32:22 +01:00
Artak Kalantarian
b55b31113a Update Android Gradle Plugin to 7.3.1 (#611) 2022-12-17 21:54:54 +01:00
Artak Kalantarian
3321a026e0 JavaDoc error fixes (#596)
Co-authored-by: Artak Kalantarian <artak@amazon.com>
2022-12-15 09:34:27 +01:00
Carlo Marinangeli
39574ed238 Upgrade libs and remove Jetifier (#218)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-13 16:34:47 +02:00
Birk Skyum
3e98f60efa Migrate examples in android TestApp to Kotlin (#416) 2022-09-09 14:04:13 +02:00
Oliver Wipfli
acdce04a22 Use maplibre docs for more links (#354) 2022-07-05 18:25:53 +02:00
Petr Pokorny
2a86dcefc0 Fixing #117 (#130) 2021-07-28 21:06:25 +02:00
Petr Pokorny
d62ff400c6 Replacing hardcoded configuration with configurable API and removing Mapbox assets (#90)
* Refactoring online file source so that tile server configuration is not hardcoded - part 1

* Added default templates

* Update from master

* Renaming MGLAccountManager to MGLSettings. Passing ResourceOptions and TileServerOptions to relevant classes and method in order to remove mapbox hardocded configuration

* Fixing build

* Addedm missing theme

* Unit tests fixes

* Fixing unit tests, adding factory methods for creating predefined configuration.

* Fixing mapbox unit tests

* Additional unit test fixes

* Making MapboxConfiguration default

* Making get/set resource options available in all classes that inherits from FileSource

* Making get/set resource options available in all classes that inherits from FileSource - part 2

* Fixes for Android

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Removing hardcoded configuration in iOS project - part 1

* Fixing wrong file extension, making use of tile server options.

* Use apiKey and MGL_API_KEY everywhere

* Just a rename

* Re-enabling tests and improving MGLSettings init

* Removing mapbox hardcoded configuration, using api key everywhere, implementing JNI conversion for TileServerOptions

* Lint issues.

* Integrating configurable tile server properties into Android SDK - part 2

* Removing mabox accounts

* Exposing multiple configurations to Android SDK - bug fixes

* Removing TileServerOptions from public interface - native methods dont work before mapbox-gl library is loaded

* Adding support for configurable predefined styles

* Migrating predefined styles in test app + cleanup

* Parameter fix

* Bug fixes

* Fixing render test build

* Fixing offline tester

* Fixing benchmark tool

* Fix: typo in method name

* Adding code for public access to TileServerOptions

* Bug fixes and debug code removal

* Fixes for macOS, adding unit tests from MapLibre, removing redundant members from OnlineFileSource

* Unit test fixes

* MacOS test app - migrating to configurable tile server options, part 1

* Fixing offline maps

* Migrating macOS test app to MapTiler

* Minor improvements

* Putting back apiKey test

* Added unit tests for MapTiler configuration

* Migrating test resources to MapTiler

* minor fix

* A few fixes

* Fixing macOS tests, removing feedback functionality

* Migrating ios test app to MapTiler

* Migrating ui tests

* UI tests fix

* Benchmarking app fix

* Cleanup and strings updates

* Migrating benchmark app to maptiler

* API key injection in benchmark app

* Putting back release configuration

* Additional tests and fixing issues identified by thread sanitizer.

* Removing test filters

* Fixes and addressing lint issues

* More Maptiler tests + minro fix

* Android instrumentation test migration to MapTiler. Exposing missing TileServerOptions in Android SDK. Minor fixes.

* No requirements on API key format.

* Fixing offline cache test tool

* Adding configurable domain name for sources, adding source domain int MapTiler configuration, cleanup

* Migrating tests to MapTiler, adding code for canonicalizing URLs, removing mapbox stuff from comments, cleanup

* More tests

* Updated database size

* Lint issues

* Fixed test

* Updating developer config API key

* Fixes for Android, propagaing updated tileServerOptions to native file sources, more tests

* Just a few more fixes

* Propagating updated settings to file sources + additional unit test

* Lint issues

* Removing test filter and fixing incorrect uri

* Release preparation

* macos release notes
2021-06-29 12:44:51 +02:00
Petr Pokorny
0e13691e3e Removing failed test - attempt to set invalid token throws exception 2021-01-26 21:12:25 +01:00
Petr Pokorny
724dae8375 Fixing lint issues 2021-01-25 17:37:29 +01:00
Petr Pokorny
e14070b4b0 Removing telemetry and mapbox mobile events 2021-01-24 17:18:19 +01:00
Petr Pokorny
c5b645a02f [android] fixing ktlint issues 2020-12-21 11:35:43 +01:00
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00