AdsJumbo / AdsJumbo.com

This repository contains the AdsJumbo.com SDK for Windows 10 Apps & Games. This allows you to display advertisements in the app from AdsJumbo.com ad network.
https://AdsJumbo.com
15 stars 10 forks source link

Implementation in react-native-windows project #29

Closed hondek closed 1 year ago

hondek commented 3 years ago

It possible to use AdsJumbo in react-native-windows project?

After I install Nuget Package "AdsJumbo.Native" i cant start app because:

'AdsJumbo': is not a member of 'winrt'
'AdsJumbo_XamlTypeInfo': is not a member of 'winrt'

in Generated Files/XamlTypeInfo.g.cpp

std::vector<::winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider> const& XamlTypeInfoProvider::OtherProviders()
{
    if (_otherProviders.empty())
    {
        _otherProviders.push_back(::winrt::Microsoft::UI::Xaml::XamlTypeInfo::XamlControlsXamlMetaDataProvider());
        _otherProviders.push_back(::winrt::AdsJumbo::AdsJumbo_XamlTypeInfo::XamlMetaDataProvider());
        _otherProviders.push_back(::winrt::Microsoft::UI::Xaml::XamlTypeInfo::XamlControlsXamlMetaDataProvider());
    }
    return _otherProviders;
}