Categories
Mastering Development

Problem with SQLite in iOS App with Xamarin forms

I have created my app in Visual Studio 2019 for Android and iOS. If I DEBUG my iOS app it is working perfectly as it should. It is debugged with iPhoneSimulator. But if I rollout my RELEASE and test in on for example iPad, it seems that it can not find the SQLite DB whitch […]

Categories
Mastering Development

Too much recursion on a random number checker js

// Data variables var infiniteResponse; var searchBResponse; // Confirms that there are all the sites on the page var confirmationOfFullSites; var sitesOnPage = []; var brLength= document.querySelectorAll(“br”).length; var whereToAddIt= document.querySelectorAll(“br”)[brLength-1]; var observer = new IntersectionObserver(function(entries){ entries.forEach(function(entry) { if (entry.isIntersecting) { getDataInfiniteS(); } }); }); observer.observe(whereToAddIt); // XMLData ——- function xmrResponse() { // Gets info var […]

Categories
CMS Development

How can I get field’s value of entry in other site locale in my element-api endpoint?

I’d like to get a field value in 3 differents locales in the same element-api endpoint but I can’t make a request similar to this one : craft.entries.siteId($siteId).id($entryId).one() in twig. <?php use Craft; use craft\elements\Entry; return [ ‘endpoints’ => [ ‘exhibitions.json’ => function() { return [ ‘elementType’ => Entry::class, ‘criteria’ => [ ‘section’ => ‘exhibitions’, […]