hiddevdploeg / billboard Goto Github PK
View Code? Open in Web Editor NEWa Swift Package that lets you add beautiful and privacy-friendly Ads to your app. These are Advertisements for Indies, by Indies.
License: MIT License
a Swift Package that lets you add beautiful and privacy-friendly Ads to your app. These are Advertisements for Indies, by Indies.
License: MIT License
providerToken (from the app) and the a campaignToken, people can attribute the installs in ASC
let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
config.userDismissible = true
config.campaignToken = "CAMPAIGN_TOKEN"
config.providerToken = "PROVIDER_ID"
BillboardCountdownView
renders weirdly when counting down the remaining time until the user can dismiss BillboardBannerView
based on the current documentation, it should be possible to fetch an ad via BillboardViewModel
like this:
let newAdvert = try? await viewModel.fetchRandomAd()
advertisement = newAdvert
but there are two difference to what is actually implemented in code:
fetchRandomAd
needs an URL parameterfetchRandomAd
is staticcurrent workaround:
guard let adsURL = BillboardConfiguration().adsJSONURL else {
return
}
Task {
try await BillboardViewModel.fetchRandomAd(from: adsURL)
}
a good solution would be to merge showAdvertisement
and fetchRandomAd
somehow. what would you say to this?
Display a label in the AdvertisementView
that highlights the fact that it's an ad and it's friendly
This will allow to reset a counter on dismiss of the overlay
Hello, during development I found this issue
It seems like, looking at the frame variables that appName seems to cause the the issue
because the url cannot be constructed, as there is a space in the app name.
Of course, this would be valid for any character that is not allowed in urls.
Several apps have this issue when looking at the default list:
Have a new smaller styled advertisement to display without blocking the whole view
Hi. The demo app project doesn't compile. It seems BillboardBannerView isn't present in the package on the main branch
Give the public list categories and let you only show ads from specific categories to better match your own app
Not sure of the use case that makes it internal only, but I'd rather have at least one public option to initialize one and keep it around in my own views
Great work on the package. I was wondering if visionOS support would be possible, as I think it should be as easy as disabling all haptic feedback (as that isn't available on visionOS). TIA!
Primarily macOS but watchOS would be ๐ฅ
When tapping the BillboardBannerView
, the whole view should be tappable. Instead, currently only the image and text content is tappable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.